]> git.ipfire.org Git - thirdparty/gcc.git/blame - libsanitizer/ChangeLog
Update build system: include new files and run autoheader, autoconf, automake
[thirdparty/gcc.git] / libsanitizer / ChangeLog
CommitLineData
8468f944
ML
12018-10-31 Martin Liska <mliska@suse.cz>
2
3 * config.h.in: Regenerate.
4 * configure: Likewise.
5 * sanitizer_common/Makefile.am: Include new files, remove old
6 files.
7 * sanitizer_common/Makefile.in: Regenerate.
8 * ubsan/Makefile.am: Include new files, remove old
9 files.
10 * ubsan/Makefile.in: Likewise.
11 * asan/Makefile.am: Include new files.
12 * asan/Makefile.in: Regenerate.
13
eac97531
ML
142018-10-31 Martin Liska <mliska@suse.cz>
15
16 * All source files: Merge from upstream 345033.
17
95fba530
ML
182018-10-31 Martin Liska <mliska@suse.cz>
19
20 * HOWTO_MERGE: Enhance documentation.
21 * merge.sh: Add support for git as well.
22
b4f1f01d
ML
232018-08-02 Martin Liska <mliska@suse.cz>
24
92a285c1 25 PR sanitizer/86022
b4f1f01d 26 * sanitizer_common/sanitizer_linux_libcdep.cc (ThreadDescriptorSize):
92a285c1 27 Cherry-pick compiler-rt revision 338606.
b4f1f01d 28
c191b1ab
MP
292018-08-01 Marek Polacek <polacek@redhat.com>
30
31 PR sanitizer/86759
32 * tsan/tsan_platform.h: Cherry-pick compiler-rt revision 318044.
33 * tsan/tsan_platform_linux.cc: Cherry-pick compiler-rt revision
34 319180.
35
c83b4b82
L
362018-07-25 H.J. Lu <hongjiu.lu@intel.com>
37
38 PR target/86560
39 * asan/asan_interceptors.cc (swapcontext) Cherry-pick
40 compiler-rt revision 337603.
41 * sanitizer_common/sanitizer_internal_defs.h (__has_attribute):
42 Likewise.
43
bdfc619e
JJ
442018-07-05 Jakub Jelinek <jakub@redhat.com>
45
46 Revert
47 2018-07-04 Maxim Ostapenko <m.ostapenko@samsung.com>
48
49 PR sanitizer/84250
50 * Makefile.am: Reorder libs.
51 * Makefile.in: Regenerate.
52 * asan/Makefile.am: Define DCAN_SANITIZE_UB=1, add dependancy from
53 libsanitizer_ubsan.la.
54 * asan/Makefile.in: Regenerate.
55 * ubsan/Makefile.am: Define new libsanitizer_ubsan.la library.
56 * ubsan/Makefile.in: Regenerate.
57
ca8dd9f2
MO
582018-07-04 Maxim Ostapenko <m.ostapenko@samsung.com>
59
60 PR sanitizer/84250
61 * Makefile.am: Reorder libs.
62 * Makefile.in: Regenerate.
63 * asan/Makefile.am: Define DCAN_SANITIZE_UB=1, add dependancy from
64 libsanitizer_ubsan.la.
65 * asan/Makefile.in: Regenerate.
66 * ubsan/Makefile.am: Define new libsanitizer_ubsan.la library.
67 * ubsan/Makefile.in: Regenerate.
68
3b07c0e5
DK
692018-06-13 Denis Khalikov <d.khalikov@partner.samsung.com>
70
92a285c1
ML
71 PR sanitizer/86090
72 * configure.ac: Check for lstat and readlink.
73 * configure, config.h.in: Rebuild.
3b07c0e5 74
5b87c1fe
MK
752018-05-31 Matthias Klose <doko@ubuntu.com>
76
77 PR sanitizer/86012
78 * sanitizer_common/sanitizer_platform_limits_posix.cc: Define
79 SIZEOF_STRUCT_USTAT for 32bit sparc.
80
71b55d45
L
812018-05-24 H.J. Lu <hongjiu.lu@intel.com>
82
83 PR sanitizer/85835
84 * sanitizer_common/sanitizer_platform_limits_posix.cc: Don't
85 include <sys/ustat.h> for Linux.
86 (SIZEOF_STRUCT_USTAT): New.
87 (struct_ustat_sz): Use SIZEOF_STRUCT_USTAT for Linux.
88
bc40f166
HPN
892018-04-26 Hans-Peter Nilsson <hp@axis.com>
90
752361c9
HPN
91 * configure.tgt <mips*-*-linux*>: Enable build, excluding
92 mips*64*-*-linux*.
93
9f943b24
HPN
94 * sanitizer_common/sanitizer_platform_limits_linux.cc: Do not
95 take the shortcut to #include <sys/stat.h> for MIPS instead of
96 the kernel <asm/stat.h>. Explain why sys/stat.h is misleading
97 or wrong to get the kernel struct stat.
98 * sanitizer_common/sanitizer_platform_limits_posix.h [__mips__]:
99 Correct the value for 32-bit non-android struct_kernel_stat_sz.
100
bc40f166
HPN
101 * sanitizer_common/sanitizer_atomic_clang_other.h [_MIPS_SIM
102 && _MIPS_SIM == _ABIO32] (lock): Add initializer for .pad member.
103
7b47ecf2
L
1042018-04-24 H.J. Lu <hongjiu.lu@intel.com>
105
106 * configure: Regenerated.
107
a0e1df88
JJ
1082018-04-19 Jakub Jelinek <jakub@redhat.com>
109
110 * configure: Regenerated.
111
001ddaa8
DM
1122018-04-18 David Malcolm <dmalcolm@redhat.com>
113
114 PR jit/85384
115 * configure: Regenerate.
116
19ddb884
BS
1172018-04-18 Bill Seurer <seurer@linux.vnet.ibm.com>
118
119 PR sanitizer/85389
120 * asan/asan_allocator.h (kAllocatorSpace): For __powerpc64__ change
121 from 0xa0000000000ULL to ~(uptr)0.
122
359ea407
JJ
1232018-03-19 Jakub Jelinek <jakub@redhat.com>
124
125 PR sanitizer/84761
126 * sanitizer_common/sanitizer_linux_libcdep.cc (__GLIBC_PREREQ):
127 Define if not defined.
128 (DL_INTERNAL_FUNCTION): Don't define.
129 (InitTlsSize): For __i386__ if not compiled against glibc 2.27+
130 determine at runtime whether to use regparm(3), stdcall calling
131 convention for older glibcs or normal calling convention for
132 newer glibcs for call to _dl_get_tls_static_info.
133
1422855a
SB
1342018-03-14 Segher Boessenkool <segher@kernel.crashing.org>
135
136 * sanitizer_common/sanitizer_stacktrace.cc
137 (BufferedStackTrace::FastUnwindStack): Use the correct frame offset
138 for PowerPC SYSV ABI.
139
14e335ed
IT
1402018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
141
142 PR target/84148
143 * configure: Regenerate.
144
4c4f3c3f
ML
1452018-02-05 Martin Liska <mliska@suse.cz>
146
147 * asan/asan_flags.inc: Cherry-pick upstream r323995.
148 * asan/asan_report.cc (CheckForInvalidPointerPair):
149 Cherry-pick upstream r323995.
150
2d509539
RO
1512018-01-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
152
153 PR sanitizer/82825
154 * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
9dfc6e83 155 r324284.
2d509539 156
1f7273e5
RO
1572018-01-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
158
159 PR sanitizer/82824
160 * lsan/lsan_common_mac.cc: Cherry-pick upstream r322437.
161
05abad4c
ML
1622017-12-05 Martin Liska <mliska@suse.cz>
163 Jakub Jelinek <jakub@redhat.com>
164
165 * asan/asan_descriptions.cc: Cherry-pick upstream r319668.
166 * asan/asan_descriptions.h: Likewise.
167 * asan/asan_report.cc: Likewise.
168 * asan/asan_thread.cc: Likewise.
169 * asan/asan_thread.h: Likewise.
170
9069eb28
IT
1712017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
172
173 * acinclude.m4: Add enable.m4 and cet.m4.
174 * Makefile.in: Regenerate.
175 * asan/Makefile.am: Update AM_CXXFLAGS.
176 * asan/Makefile.in: Regenerate.
177 * configure: Likewise.
178 * configure.ac: Set CET_FLAGS. Update EXTRA_CFLAGS,
179 EXTRA_CXXFLAGS, EXTRA_ASFLAGS.
180 * interception/Makefile.am: Update AM_CXXFLAGS.
181 * interception/Makefile.in: Regenerate.
182 * libbacktrace/Makefile.am: Update AM_CFLAGS, AM_CXXFLAGS.
183 * libbacktrace/Makefile.in: Regenerate.
184 * lsan/Makefile.am: Update AM_CXXFLAGS.
185 * lsan/Makefile.in: Regenerate.
186 * sanitizer_common/Makefile.am: Update AM_CXXFLAGS,
187 AM_CCASFLAGS.
188 * sanitizer_common/sanitizer_linux_x86_64.S: Include cet.h.
189 Add _CET_ENDBR macro.
190 * sanitizer_common/Makefile.in: Regenerate.
191 * tsan/Makefile.am: Update AM_CXXFLAGS.
192 * tsan/Makefile.in: Regenerate.
193 * tsan/tsan_rtl_amd64.S Include cet.h. Add _CET_ENDBR macro.
194 * ubsan/Makefile.am: Update AM_CXXFLAGS.
195 * ubsan/Makefile.in: Regenerate.
196
5925290f
JJ
1972017-11-08 Jakub Jelinek <jakub@redhat.com>
198
199 PR bootstrap/82670
200 * ubsan/Makefile.am (ubsan_files): Remove ubsan_init_standalone.cc
201 and ubsan_signals_standalone.cc.
202 * ubsan/Makefile.in: Regenerated.
203
735e62b9
TV
2042017-11-05 Tom de Vries <tom@codesourcery.com>
205
206 PR other/82784
207 * asan/asan_poisoning.cc (CHECK_SMALL_REGION): Remove semicolon after
208 "do {} while (0)".
209 * lsan/lsan_common.cc (LOG_POINTERS, LOG_THREADS): Same.
210
9a45ffbd
JJ
2112017-10-20 Jakub Jelinek <jakub@redhat.com>
212
213 PR sanitizer/82595
214 * lsan/lsan.h (__lsan_init): Add SANITIZER_INTERFACE_ATTRIBUTE.
215 * lsan/Makefile.am (nodist_toolexeclib_HEADERS): Add
216 liblsan_preinit.o.
217 (lsan_files): Remove lsan_preinit.cc.
218 (liblsan_preinit.o): New rule.
219 * lsan/Makefile.in: Regenerated.
220
5d3805fc
JJ
2212017-10-19 Jakub Jelinek <jakub@redhat.com>
222
223 * All source files: Merge from upstream 315899.
92a285c1 224 * asan/Makefile.am (nodist_saninclude_HEADERS): Add
5d3805fc 225 include/sanitizer/tsan_interface.h.
92a285c1 226 * asan/libtool-version: Bump the libasan SONAME.
5d3805fc
JJ
227 * lsan/Makefile.am (sanitizer_lsan_files): Add lsan_common_mac.cc.
228 (lsan_files): Add lsan_linux.cc, lsan_mac.cc and lsan_malloc_mac.cc.
92a285c1 229 * sanitizer_common/Makefile.am (sanitizer_common_files): Add
5d3805fc
JJ
230 sancov_flags.cc, sanitizer_allocator_checks.cc,
231 sanitizer_coverage_libcdep_new.cc, sanitizer_errno.cc,
232 sanitizer_file.cc, sanitizer_mac_libcdep.cc and
233 sanitizer_stoptheworld_mac.cc. Remove sanitizer_coverage_libcdep.cc
234 and sanitizer_coverage_mapping_libcdep.cc.
92a285c1 235 * tsan/Makefile.am (tsan_files): Add tsan_external.cc.
5d3805fc
JJ
236 * ubsan/Makefile.am (DEFS): Add -DUBSAN_CAN_USE_CXXABI=1.
237 (ubsan_files): Add ubsan_init_standalone.cc and
238 ubsan_signals_standalone.cc.
239 * ubsan/libtool-version: Bump the libubsan SONAME.
92a285c1
ML
240 * asan/Makefile.in: Regenerate.
241 * lsan/Makefile.in: Regenerate.
242 * sanitizer_common/Makefile.in: Regenerate.
243 * tsan/Makefile.in: Regenerate.
5d3805fc
JJ
244 * ubsan/Makefile.in: Regenerate.
245
bf4df9e6
L
2462017-10-05 H.J. Lu <hongjiu.lu@intel.com>
247
248 PR sanitizer/82379
249 * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Set
250 to sanitizer_linux_x86_64.lo if __x86_64__ is defined by $CC.
251
d1453bec
JJ
2522017-10-02 Jakub Jelinek <jakub@redhat.com>
253
254 * libbacktrace/backtrace-rename.h (backtrace_uncompress_zdebug):
255 Define.
256
a5320f3c
JJ
2572017-08-07 Jakub Jelinek <jakub@redhat.com>
258
259 * include/system/sys/ptrace.h: New file.
260
c9b39a49
JJ
2612017-07-28 Jakub Jelinek <jakub@redhat.com>
262
263 PR sanitizer/80998
264 * ubsan/ubsan_handlers.cc: Cherry-pick upstream r304461.
265 * ubsan/ubsan_checks.inc: Likewise.
266 * ubsan/ubsan_handlers.h: Likewise.
267
144e36a7
JJ
2682017-07-14 Jakub Jelinek <jakub@redhat.com>
269
270 PR sanitizer/81066
271 * sanitizer_common/sanitizer_linux.h: Cherry-pick upstream r307969.
272 * sanitizer_common/sanitizer_linux.cc: Likewise.
273 * sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: Likewise.
274 * tsan/tsan_platform_linux.cc: Likewise.
275
d9f8c5af
ML
2762017-04-06 Martin Liska <mliska@suse.cz>
277
278 PR sanitizer/80166
279 * sanitizer_common/sanitizer_common_interceptors.inc (INTERCEPTOR):
280 Cherry-pick upstream r299036.
281
fd6cba40
JJ
2822017-03-22 Jakub Jelinek <jakub@redhat.com>
283
284 PR sanitizer/78158
285 * tsan/tsan_interface_atomic.cc: Cherry-pick upstream r298378.
286
9b9ad360
AT
2872017-02-16 Andreas Tobler <andreast@gcc.gnu.org>
288
289 PR sanitizer/79562
290 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry-pick
291 upstream r294806.
292
1509524b
JJ
2932017-02-11 Jakub Jelinek <jakub@redhat.com>
294
295 PR sanitizer/79341
296 * configure.tgt (s390*-*-linux*): Don't disable libsanitizer on
297 s390-linux 31-bit.
298 * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
299 r294793.
300 * sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
301 upstream r294790.
302 * sanitizer_common/sanitizer_linux_s390.cc: Cherry-pick upstream
303 r294799.
304
778e0ac3
MO
3052017-02-03 Maxim Ostapenko <m.ostapenko@samsung.com>
306
307 PR sanitizer/78663
308 * sanitizer_common/sanitizer_mac.cc: Cherry-pick upstream r293992.
309 * sanitizer_common/sanitizer_platform_interceptors.h: Likewise.
310
4997a71d
JJ
3112017-01-31 Jakub Jelinek <jakub@redhat.com>
312
313 * configure.tgt: Enable asan and ubsan on 64-bit s390*-*-linux*.
314
86b2a558
JJ
3152017-01-24 Jakub Jelinek <jakub@redhat.com>
316
c831801d
JJ
317 * configure.tgt: Enable tsan and lsan on powerpc64{,le}-*-linux*.
318
86b2a558
JJ
319 PR sanitizer/79168
320 * merge.sh (change_comment_headers): Don't remove 2nd and 3rd line
321 if the 3rd line doesn't contain 'The LLVM Compiler Infrastructure'
322 text.
323 * sanitizer_common/sanitizer_linux_mips64.S: Regenerated.
324 * sanitizer_common/sanitizer_linux_x86_64.S: Likewise.
325 * tsan/tsan_ppc_regs.h: Likewise.
326 * tsan/tsan_rtl_aarch64.S: Likewise.
327 * tsan/tsan_rtl_mips64.S: Likewise.
328 * tsan/tsan_rtl_ppc64.S: Likewise.
329
73aa401e
JJ
3302017-01-21 Jakub Jelinek <jakub@redhat.com>
331
332 PR other/79046
333 * interception/Makefile.am (gcc_version): Use @get_gcc_base_ver@
334 instead of cat to get version from BASE-VER file.
335 * asan/Makefile.am (gcc_version): Likewise.
336 * ubsan/Makefile.am (gcc_version): Likewise.
337 * sanitizer_common/Makefile.am (gcc_version): Likewise.
338 * lsan/Makefile.am (gcc_version): Likewise.
339 * tsan/Makefile.am (gcc_version): Likewise.
340 * interception/Makefile.in: Regenerated.
341 * asan/Makefile.in: Regenerated.
342 * ubsan/Makefile.in: Regenerated.
343 * sanitizer_common/Makefile.in: Regenerated.
344 * lsan/Makefile.in: Regenerated.
345 * tsan/Makefile.in: Regenerated.
346
3c36aa6b
JJ
3472017-01-17 Jakub Jelinek <jakub@redhat.com>
348
349 PR other/79046
350 * configure.ac: Add GCC_BASE_VER.
351 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
352 get version from BASE-VER file.
353 * libbacktrace/Makefile.in: Regenerated.
354 * interception/Makefile.in: Regenerated.
355 * asan/Makefile.in: Regenerated.
356 * ubsan/Makefile.in: Regenerated.
357 * configure: Regenerated.
358 * sanitizer_common/Makefile.in: Regenerated.
359 * lsan/Makefile.in: Regenerated.
360 * Makefile.in: Regenerated.
361 * tsan/Makefile.in: Regenerated.
362
942136a4
JC
3632017-01-10 James Clarke <jrtc27@jrtc27.com>
364
365 PR sanitizer/78992
366 * sanitizer_common/sanitizer_platform_limits_posix.h
367 (struct __sanitizer_sigaction): Cherry-pick upstream r291561.
368
11bbe995
MO
3692016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
370
371 * LOCAL_PATCHES: Add revision.
372
d61ed91e
MO
3732016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
374
375 PR sanitizer/78532
376 * sanitizer_common/sanitizer_platform_limits_posix.h
377 (__sanitizer_sigaction): Adjust for sparc targets and various Glibc
378 versions.
379
f4214e23
MT
3802016-11-29 Markus Trippelsdorf <markus@trippelsdorf.de>
381
382 * LOCAL_PATCHES: Remove r242480.
383
00212843
RO
3842016-11-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
385
386 * LOCAL_PATCHES: Add revision.
387
97448adf
RO
3882016-11-20 Jack Howarth <howarth.at.gcc@gmail.com>
389
390 PR sanitizer/78267
391 * sanitizer_common/sanitizer_mac.cc: Include <os/trace.h> only if
392 compiler supports blocks extension.
393
61a58d07
MT
3942016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
395
396 * LOCAL_PATCHES: Add revision.
397
8c32ae0e
MT
3982016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
399
400 PR sanitizer/78294
401 * tsan/tsan_rtl.cc: Add missing attribute.
402
949cc52d
MO
4032016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
404
405 * LOCAL_PATCHES: New file.
406
511c8687
MO
4072016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
408
409 PR sanitizer/78307
410 * ubsan/ubsan_handlers.cc (__ubsan_handle_cfi_bad_icall): New function.
411 ( __ubsan_handle_cfi_bad_icall_abort): Likewise.
412 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): New type.
413 * ubsan/ubsan_handlers_cxx.cc (__ubsan_handle_cfi_bad_type): New
414 function.
415 (__ubsan_handle_cfi_bad_type_abort): Likewise.
416 * ubsan/ubsan_handlers_cxx.h (struct CFIBadTypeData): New type.
417 (__ubsan_handle_cfi_bad_type): Export function.
418 (__ubsan_handle_cfi_bad_type_abort): Likewise.
419 * HOWTO_MERGE: Update documentation.
420
84c1b9d3
MK
4212016-11-15 Matthias Klose <doko@ubuntu.com>
422
423 * configure: Regenerate.
424
8f16b6ca
MO
4252016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
426
427 * asan/asan_globals.cc (RegisterGlobal): Do not call
428 CheckODRViolationViaPoisoning.
429 (CheckODRViolationViaPoisoning): Remove.
430
789306de
MO
4312016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
432
433 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
434 compiled code with GCC when extracting the caller PC for ARM if no
435 valid frame pointer is available.
436
fe7913f6
MO
4372016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
438
439 PR sanitizer/63958
440 Reapply:
441 2014-10-14 David S. Miller <davem@davemloft.net>
442
443 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
444 Define at __kernel_time_t, as needed for sparc.
445 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
446 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
447 (__sanitizer): Define struct___old_kernel_stat_sz,
448 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
449 (__sanitizer_ipc_perm): Adjust for sparc targets.
450 (__sanitizer_shmid_ds): Likewsie.
451 (__sanitizer_sigaction): Likewise.
452 (IOC_SIZE): Likewsie.
453
10189819
MO
4542016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
455
456 * All source files: Merge from upstream 285547.
457 * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): New
458 variable.
459 * configure.ac (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Handle it.
460 * asan/Makefile.am (asan_files): Add new files.
461 * asan/Makefile.in: Regenerate.
462 * ubsan/Makefile.in: Likewise.
463 * lsan/Makefile.in: Likewise.
464 * tsan/Makefile.am (tsan_files): Add new files.
465 * tsan/Makefile.in: Regenerate.
466 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
467 (EXTRA_libsanitizer_common_la_SOURCES): Define.
468 (libsanitizer_common_la_LIBADD): Likewise.
469 (libsanitizer_common_la_DEPENDENCIES): Likewise.
470 * sanitizer_common/Makefile.in: Regenerate.
471 * interception/Makefile.in: Likewise.
472 * libbacktace/Makefile.in: Likewise.
473 * Makefile.in: Likewise.
474 * configure: Likewise.
475 * merge.sh: Handle builtins/assembly.h merging.
476 * builtins/assembly.h: New file.
477 * asan/libtool-version: Bump the libasan SONAME.
478
aef6a97c
JJ
4792016-09-21 Jakub Jelinek <jakub@redhat.com>
480
481 PR sanitizer/77567
482 * asan/asan_new_delete.cc: Cherry-pick upstream r282019.
483
0ce48391
JJ
4842016-09-05 Jakub Jelinek <jakub@redhat.com>
485
486 PR sanitizer/77396
487 * asan/asan_globals.cc: Cherry-pick upstream r280657.
488
e23a7a99
JJ
4892016-08-12 Jakub Jelinek <jakub@redhat.com>
490
491 PR sanitizer/71042
492 * tsan/tsan_platform_linux.cc: Cherry-pick upstream r278292.
493 * tsan/tsan_rtl_aarch64.S: Likewise.
494
aa00995c
AM
4952016-07-23 Alan Modra <amodra@gmail.com>
496
497 Revert 2015-11-09 Alan Modra <amodra@gmail.com>
498 * configure.ac: Don't substitute OBSTACK_DEFS.
499 * asan/Makefile.am: Remove OBSTACK_DEFS from DEFS.
500 * tsan/Makefile.am: Likewise.
501 * configure: Regenerate.
502 * Makefile.in: Regenerate.
503 * asan/Makefile.in: Regenerate.
504 * interception/Makefile.in: Regenerate.
505 * libbacktrace/Makefile.in: Regenerate.
506 * lsan/Makefile.in: Regenerate.
507 * sanitizer_common/Makefile.in: Regenerate.
508 * tsan/Makefile.in: Regenerate.
509 * ubsan/Makefile.in: Regenerate.
510
69af4eec
JJ
5112016-05-17 Jakub Jelinek <jakub@redhat.com>
512
513 PR sanitizer/71160
514 * asan/asan_malloc_linux.cc: Cherry pick upstream r254395
515 and r269633.
516
fefddbef
MO
5172016-04-21 Maxim Ostapenko <m.ostapenko@samsung.com>
518
519 PR sanitizer/70624
520 * asan/asan_mac.cc: Cherry pick upstream r266868.
521
e4729419
JJ
5222016-01-19 Jakub Jelinek <jakub@redhat.com>
523
524 PR sanitizer/68824
525 * tsan/tsan_interceptors.cc (NEED_TLS_GET_ADDR, __tls_get_addr,
526 InitializeInterceptors): Cherry pick upstream r258119.
527
bf93d543
AT
5282016-01-14 Andreas Tobler <andreast@gcc.gnu.org>
529
530 * configure.ac: Replace the hard-coded -ldl requirement for
531 link_sanitizer_common with a configure time check for -ldl.
532 * configure: Regenerate.
533
9211bbb2
MO
5342015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
535
536 * include/system/linux/asm/ptrace.h: Move to ...
537 * include/system/asm/ptrace.h: ... this.
538
664dd3cf
MO
5392015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
540
541 * include/system/linux/asm/ptrace.h: New header.
542
55aea9f5
MO
5432015-11-23 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
544
545 * All source files: Merge from upstream r253555.
546 * configure.tgt: Enable LSan on aarch64-*-linux* targets. Add new
547 dependences for TSan for aarch64-*-linux* targets.
548 * tsan/Makefile.am: Add new source files.
549 * configure: Regenerate.
550 * tsan/Makefile.in: Likewise.
551
62c0f0a6
AM
5522015-11-09 Alan Modra <amodra@gmail.com>
553
554 * sanitizer_common/sanitizer_common_interceptors.inc: Update size
555 params for _obstack_begin_1, _obstack_begin, _obstack_newchunk
556 interceptors.
557 * configure.ac: Substitute OBSTACK_DEFS.
558 * asan/Makefile.am: Add OBSTACK_DEFS to DEFS.
559 * tsan/Makefile.am: Likewise.
560 * configure: Regenerate.
561 * Makefile.in: Regenerate.
562 * asan/Makefile.in: Regenerate.
563 * interception/Makefile.in: Regenerate.
564 * libbacktrace/Makefile.in: Regenerate.
565 * lsan/Makefile.in: Regenerate.
566 * sanitizer_common/Makefile.in: Regenerate.
567 * tsan/Makefile.in: Regenerate.
568 * ubsan/Makefile.in: Regenerate.
569
692b1131
MO
5702015-10-22 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
571
572 PR bootstrap/68041
573 * configure.ac (link_sanitizer_common): Link against librt only if it
574 contains shm_open, required by sanitizers.
575 (CXX_ABI_NEEDED): Remove variable.
576 * configure: Regenerate.
577 * ubsan/Makefile.am (libubsan_la_LIBADD): Do not add -lc++abi anymore.
578 * ubsan/Makefile.in: Regenerate.
579
7047bc9c
MO
5802015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
581
582 * HOWTO_MERGE: New file.
583
21d61063
MO
5842015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
585
586 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
587 compiled code with GCC when extracting the caller PC for ARM if no
588 valid frame pointer is available.
589
15ebe1fe
MO
5902015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
591
592 PR bootstrap/63888
593 Reapply:
594 2015-02-20 Jakub Jelinek <jakub@redhat.com>
595
596 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
597 support until it is rewritten upstream.
598
599 * c-c++-common/asan/pr63888.c: New test.
600
0d57d3e0
MO
6012015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
602
603 PR sanitizer/63958
604 Reapply:
605 2014-10-14 David S. Miller <davem@davemloft.net>
606
607 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
608 Define at __kernel_time_t, as needed for sparc.
609 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
610 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
611 (__sanitizer): Define struct___old_kernel_stat_sz,
612 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
613 (__sanitizer_ipc_perm): Adjust for sparc targets.
614 (__sanitizer_shmid_ds): Likewsie.
615 (__sanitizer_sigaction): Likewise.
616 (IOC_SIZE): Likewsie.
617
696d846a
MO
6182015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
619
620 * All source files: Merge from upstream r250806.
621 * configure.ac (link_sanitizer_common): Add -lrt flag.
622 * configure.tgt: Enable TSAN and LSAN for aarch64-linux targets.
623 Set USE_CXX_ABI_FLAG=true for darwin.
624 * asan/Makefile.am (asan_files): Add new files.
625 (DEFS): Add DCAN_SANITIZE_UB=0 and remove unused and legacy
626 DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0.
627 * asan/Makefile.in: Regenerate.
628 * ubsan/Makefile.am (ubsan_files): Add new files.
629 (DEFS): Add DCAN_SANITIZE_UB=1.
630 (libubsan_la_LIBADD): Add -lc++abi if USE_CXX_ABI_FLAG is true.
631 * ubsan/Makefile.in: Regenerate.
632 * tsan/Makefile.am (tsan_files): Add new files.
633 (DEFS): Add DCAN_SANITIZE_UB=0.
634 * tsan/Makefile.in: Regenerate.
635 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
636 * sanitizer_common/Makefile.in: Regenerate.
637 * asan/libtool-version: Bump the libasan SONAME.
638
1842a04c
MT
6392015-09-09 Markus Trippelsdorf <markus@trippelsdorf.de>
640
641 PR sanitizer/67258
642 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r244101.
643
97d8f801
MT
6442015-07-29 Markus Trippelsdorf <markus@trippelsdorf.de>
645
646 PR sanitizer/63927
647 * sanitizer_common/sanitizer_stacktrace.h: Use fast unwinder
648 for PowerPC.
649
3d61d875
BS
6502015-07-28 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
651
652 PR sanitizer/63927
653 * sanitizer_common/sanitizer_stacktrace.cc
654 (BufferedStackTrace::FastUnwindStack): Fix code for PowerPC to
655 find the link register at an offset of 16 from the base of the
656 caller's stack frame.
657
f3915b42
MH
6582015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
659
660 * Makefile.in: Regenerated with automake-1.11.6.
661 * aclocal.m4: Likewise.
662 * asan/Makefile.in: Likewise.
663 * configure: Likewise.
664 * interception/Makefile.in: Likewise.
665 * libbacktrace/Makefile.in: Likewise.
666 * lsan/Makefile.in: Likewise.
667 * sanitizer_common/Makefile.in: Likewise.
668 * tsan/Makefile.in: Likewise.
669 * ubsan/Makefile.in: Likewise.
670
d041a6fc
YG
6712015-04-13 Yury Gribov <y.gribov@samsung.com>
672
673 PR sanitizer/64839
674 * sanitizer_common/sanitizer_platform.h: Cherry pick
675 upstream r234470.
676 * sanitizer_common/sanitizer_platform_limits_posix.cc: Ditto.
677 * configure.ac (RPC_DEFS): Check for precense of RPC headers.
678 * sanitizer_common/Makefile.am (DEFS): Pass info to compiler.
679 * Makefile.in: Regenerate.
680 * asan/Makefile.in: Regenerate.
681 * config.h.in: Regenerate.
682 * configure: Regenerate.
683 * interception/Makefile.in: Regenerate.
684 * libbacktrace/Makefile.in: Regenerate.
685 * lsan/Makefile.in: Regenerate.
686 * sanitizer_common/Makefile.in: Regenerate.
687 * tsan/Makefile.in: Regenerate.
688 * ubsan/Makefile.in: Regenerate.
689
690
d886f7cc
CL
6912015-03-23 Christophe Lyon <christophe.lyon@linaro.org>
692
693 PR sanitizer/59009
694 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
695 upstream r230324.
696 * sanitizer_common/sanitizer_platform.h: Likewise.
697 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
698
563fb64a
BE
6992015-03-11 Bernd Edlinger <bernd.edlinger@hotmail.de>
700
701 * tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
702 upstream 224508 and 224755.
703
ee876e59
JJ
7042015-03-09 Jakub Jelinek <jakub@redhat.com>
705
706 PR sanitizer/63958
707 Reapply:
708 2014-10-14 David S. Miller <davem@davemloft.net>
709
710 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
711 Define at __kernel_time_t, as needed for sparc.
712 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
713 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
714 (__sanitizer): Define struct___old_kernel_stat_sz,
715 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
716 (__sanitizer_ipc_perm): Adjust for sparc targets.
717 (__sanitizer_shmid_ds): Likewsie.
718 (__sanitizer_sigaction): Likewise.
719 (IOC_SIZE): Likewsie.
720
6ad0611b
PB
7212015-02-27 Peter Bergner <bergner@vnet.ibm.com>
722
723 * configure.tgt: Enable build on powerpc*le-*-linux.
724
09901e8a 7252015-02-23 Jakub Jelinek <jakub@redhat.com>
86ee2038
JJ
726
727 PR bootstrap/63888
728 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
729 support until it is rewritten upstream.
730
94213c10
MK
7312015-01-26 Matthias Klose <doko@ubuntu.com>
732
733 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
734 * configure: Regenerate.
735
8790f572
VK
7362015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
737
94213c10 738 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine.
8790f572 739 * configure: Regenerate.
94213c10 740 * configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
8790f572 741
b0edd457
VK
7422015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
743
744 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
745 * configure: Regenerate.
746 * tsan/Makefile.am (EXTRA_libtsan_la_SOURCES): Define.
747 (libtsan_la_DEPENDENCIES): Likewise.
748 * Makefile.in: Regenerate.
749 * asan/Makefile.in: Regenerate.
750 * interception/Makefile.in: Regenerate.
751 * libbacktrace/Makefile.in: Regenerate.
752 * lsan/Makefile.in: Regenerate.
753 * sanitizer_common/Makefile.in: Regenerate.
754 * tsan/Makefile.in: Regenerate.
755 * ubsan/Makefile.in: Regenerate.
756
19ac475f
JJ
7572015-01-22 Jakub Jelinek <jakub@redhat.com>
758
759 * tsan/tsan_rtl.h: Cherry pick upstream r226829.
760
8b08ef25
JJ
7612015-01-21 Jakub Jelinek <jakub@redhat.com>
762
763 PR sanitizer/64435
764 * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick
765 upstream r226637.
766 * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
767 * sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639.
768
3ea36418
JJ
7692015-01-20 Jakub Jelinek <jakub@redhat.com>
770
771 PR sanitizer/64632
772 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r224972.
773
9deaf59d
JJ
7742015-01-19 Jakub Jelinek <jakub@redhat.com>
775
776 PR sanitizer/64435
777 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
778 upstream r223925.
779
b6a8bacc
JJ
7802015-01-13 Jakub Jelinek <jakub@redhat.com>
781
782 * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
783 upstream r224518 and r224519.
784 * tsan/tsan_rtl_thread.cc: Cherry pick upstream r224702 and
785 r224834.
786
f2798565
JJ
7872014-12-16 Jakub Jelinek <jakub@redhat.com>
788
789 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
790 sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
791 sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
792 upstream r224308.
793
a699d672
L
7942014-11-21 H.J. Lu <hongjiu.lu@intel.com>
795
796 PR bootstrap/63784
797 * configure: Regenerated.
798
7697b16f
JJ
7992014-11-21 Jakub Jelinek <jakub@redhat.com>
800
801 PR target/61137
802 * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
803 (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
804
7f201a67
UB
8052014-11-14 Uros Bizjak <ubizjak@gmail.com>
806
807 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
808 * asan/Makefile.am (AM_CXXFLAGS): Ditto.
809 * lsan/Makefile.am (AM_CXXFLAGS): Ditto.
810 * interception/Makefile.am (AM_CXXFLAGS): Ditto.
811 * tsan/Makefile.am (AM_CXXFLAGS): Ditto.
812 * libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
813 * ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
814 * sanitizer_common/Makefile.in: Regenerate.
815 * asan/Makefile.in: Ditto.
816 * lsan/Makefile.in: Ditto.
817 * interception/Makefile.in: Ditto.
818 * tsan/Makefile.in: Ditto.
819 * libbacktrace/Makefile.in: Ditto.
820 * ubsan/Makefile.in: Ditto.
821
c5be964a
KS
8222014-11-13 Kostya Serebryany <kcc@google.com>
823
824 * All source files: Merge from upstream r221802.
825 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
826 (LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
827 with 'start' to follow the new interface.
828 * asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
829 * interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
830 * libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
831 * lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
832 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
833 files.
834 (AM_CXXFLAGS): Added -std=c++11.
835 * tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
836 * ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
837 * asan/Makefile.in: Regenerate.
838 * interception/Makefile.in: Regenerate.
839 * libbacktrace/Makefile.in: Regenerate.
840 * lsan/Makefile.in: Regenerate.
841 * sanitizer_common/Makefile.in: Regenerate.
842 * tsan/Makefile.in: Regenerate.
843 * ubsan/Makefile.in: Regenerate.
844
ebf6d33b
FXC
8452014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
846
847 PR target/63610
848 * configure: Regenerate.
849
d13fc1ed
ML
8502014-10-16 Martin Liska <mliska@suse.cz>
851
852 * asan/Makefile.am: IPA ICF pass is disabled.
853 * asan/Makefile.in: Likewise.
854
c8473336
DM
8552014-10-14 David S. Miller <davem@davemloft.net>
856
857 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
858 Define at __kernel_time_t, as needed for sparc.
859 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
860 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
861 (__sanitizer): Define struct___old_kernel_stat_sz,
862 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
863 (__sanitizer_ipc_perm): Adjust for sparc targets.
864 (__sanitizer_shmid_ds): Likewsie.
865 (__sanitizer_sigaction): Likewsie.
866 (IOC_SIZE): Likewsie.
867
694b4cfa
JJ
8682014-10-14 Jakub Jelinek <jakub@redhat.com>
869
870 * ubsan/Makefile.am (DEFS): Add -DPIC.
871 * ubsan/Makefile.in: Regenerated.
872
a3125fc2
CL
8732014-09-26 Christophe Lyon <christophe.lyon@linaro.org>
874
875 * configure.tgt: Enable build on aarch64*-linux.
876
866e32ad
KS
8772014-09-19 Kostya Serebryany <kcc@google.com>
878
879 * All source files: Merge from upstream r218156.
880 * asan/Makefile.am (asan_files): Added new files.
881 * asan/Makefile.in: Regenerate.
882 * ubsan/Makefile.am (ubsan_files): Added new files.
883 * ubsan/Makefile.in: Regenerate.
884 * tsan/Makefile.am (tsan_files): Added new files.
885 * tsan/Makefile.in: Regenerate.
886 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
887 files.
888 * sanitizer_common/Makefile.in: Regenerate.
889 * asan/libtool-version: Bump the libasan SONAME.
890
126edc3f
JJ
8912014-09-10 Jakub Jelinek <jakub@redhat.com>
892
893 * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
894 upstream r215485, r217389, r217391 and r217400.
895
0d807c80
PC
8962014-06-23 Paolo Carlini <paolo.carlini@oracle.com>
897
898 * sanitizer_common/sanitizer_common_interceptors.inc:
899 Cherry pick upstream r211008.
900
4622301b
RB
9012014-06-11 Richard Biener <rguenther@suse.de>
902
903 * asan/asan_linux.cc: Cherry pick upstream r210012.
904
ecd5543f
JJ
9052014-05-30 Jakub Jelinek <jakub@redhat.com>
906
907 * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
908 r209879.
909 * sanitizer_common/sanitizer_common.h: Likewise.
910 * asan/asan_mapping.h: Likewise.
911 * asan/asan_linux.cc: Likewise.
912 * tsan/tsan_mman.cc: Cherry pick upstream r209744.
913 * sanitizer_common/sanitizer_allocator.h: Likewise.
914
85a16bf8
MP
9152014-05-23 Marek Polacek <polacek@redhat.com>
916
917 * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
918 floating-point types.
919
dee5ea7a
KS
9202014-05-22 Kostya Serebryany <kcc@google.com>
921
922 * All source files: Merge from upstream r209283.
923 * asan/Makefile.am (asan_files): Added new files.
924 * asan/Makefile.in: Regenerate.
925 * tsan/Makefile.am (tsan_files): Added new files.
926 * tsan/Makefile.in: Regenerate.
0d807c80
PC
927 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
928 files.
dee5ea7a
KS
929 * sanitizer_common/Makefile.in: Regenerate.
930
2675305b
YG
9312014-05-14 Yury Gribov <y.gribov@samsung.com>
932
933 PR sanitizer/61100
934 * Makefile.am (nodist_saninclude_HEADERS): Install
935 public headers.
936 * Makefile.in: Regenerate.
937
a6c9ab4e
RO
9382014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
939
940 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
941 Add ../../libbacktrace/sort.c.
942 * libbacktrace/Makefile.in: Regenerate.
943 * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
944
a42a7046
BS
9452014-03-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
946
947 * configure.tgt: Unsupported for little endian PowerPC for now.
948
5ab39ec3
JJ
9492014-02-04 Jakub Jelinek <jakub@redhat.com>
950
81c87471
JJ
951 PR sanitizer/60055
952 * tsan/tsan_flags.cc (__tsan_default_options): Add
953 SANITIZER_INTERFACE_ATTRIBUTE. Backport from upstream r200747.
954 * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
955
5ab39ec3
JJ
956 PR sanitizer/60038
957 * sanitizer_common/sanitizer_linux_libcdep.cc: Include
958 sanitizer_atomic.h and unistd.h.
959 (kThreadDescriptorSize): Made static, remove initializer and const,
960 change type to atomic_uintptr_t.
961 (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
962 query glibc version, compute kThreadDescriptorSize depending on
963 glibc version minor number.
964 (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
965 kThreadDescriptorSize directly.
966
4a7eaf5f
YG
9672014-01-23 Yury Gribov <y.gribov@samsung.com>
968 Jakub Jelinek <jakub@redhat.com>
969
970 PR sanitizer/57316
971 * configure.ac: Check for missing syscalls.
972 * Makefile.am: Likewise.
973 * configure: Regenerate.
974 * Makefile.in: Regenerate.
975
2613419a
JJ
9762014-01-09 Jakub Jelinek <jakub@redhat.com>
977
b5f58ba3
JJ
978 * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
979 (LibbacktraceSymbolizer::Demangle): New declaration.
980 * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
981 (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
982 method if possible.
983 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
984 "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
985 (struct CplusV3DemangleData): New type.
986 (CplusV3DemangleCallback, CplusV3Demangle): New functions.
987 (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
988 SymbolizeDataCallback): Use CplusV3Demangle.
989 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
990 -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
991 * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
992 cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
993 cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
994 cplus_demangle_init_info, cplus_demangle_mangled_name,
995 cplus_demangle_operators, cplus_demangle_print,
996 cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
997 cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
998 is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
999 Define.
1000 (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
1001 (memcmp, strncmp): Redefine.
1002 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
1003 ../../libiberty/cp-demangle.c.
1004 * libbacktrace/bridge.cc (__asan_internal_memcmp,
1005 __asan_internal_strncmp): New functions.
1006 * sanitizer_common/Makefile.in: Regenerated.
1007 * libbacktrace/Makefile.in: Regenerated.
1008 * configure: Regenerated.
1009 * configure.ac: Regenerated.
1010 * config.h.in: Regenerated.
1011
2613419a
JJ
1012 * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
1013 -isystem $(top_srcdir)/include/system.
1014 * sanitizer_common/Makefile.in: Regenerated.
1015 * include/system/linux/aio_abi.h: New header.
1016 * include/system/linux/mroute.h: New header.
1017 * include/system/linux/mroute6.h: New header.
1018 * include/system/linux/perf_event.h: New header.
1019 * include/system/linux/types.h: New header.
c915a581
JJ
1020
1021 PR sanitizer/59136
1022 * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
1023 LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
1024 and -I/-include flags.
1025 * lsan/Makefile.am (liblsan_la_LIBADD): Add
1026 libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
1027 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1028 * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
1029 * asan/Makefile.am (libasan_la_LIBADD): Likewise.
1030 * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
1031 libbacktrace.
1032 * README.gcc: Document that also lsan and ubsan are
1033 maintained in compiler-rt upstream.
1034 * libbacktrace/Makefile.am: New file.
1035 * libbacktrace/backtrace-rename.h: New file.
1036 * libbacktrace/backtrace-supported.h.in: New file.
1037 * libbacktrace/bridge.cc: New file.
1038 * configure.ac: Add tests needed for libbacktrace build
1039 within libsanitizer.
1040 * sanitizer_common/Makefile.in: Regenerated.
1041 * lsan/Makefile.in: Regenerated.
1042 * tsan/Makefile.in: Regenerated.
1043 * ubsan/Makefile.in: Regenerated.
1044 * libbacktrace/Makefile.in: Generated.
1045 * config.h.in: Regenerated.
1046 * configure: Regenerated.
1047 * Makefile.in: Regenerated.
1048 * interception/Makefile.in: Regenerated.
1049 * asan/Makefile.in: Regenerated.
1050 * aclocal.m4: Regenerated.
1051
409f3b46
KS
10522013-12-19 Kostya Serebryany <kcc@google.com>
1053
92a285c1 1054 * sanitizer_common/sanitizer_platform_limits_posix.cc:
409f3b46
KS
1055 workaround for missing definition of EOWNERDEAD, backport
1056 from upstream r196779.
1057
079db27b
L
10582013-12-06 H.J. Lu <hongjiu.lu@intel.com>
1059
1060 * sanitizer_common/sanitizer_platform_limits_posix.h
1061 (__sanitizer_shmid_ds): Use u64 on time fields for x32.
1062 (__sanitizer_clock_t): Use long long for x32.
1063
7efb96c0
L
10642013-12-06 H.J. Lu <hongjiu.lu@intel.com>
1065
1066 * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
1067 <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
1068 (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
1069
df9d1700
L
10702013-12-05 H.J. Lu <hongjiu.lu@intel.com>
1071
1072 * configure.ac (link_sanitizer_common): Add -lm.
1073 * configure: Regenerated.
1074
c4c16f74
KS
10752013-12-05 Kostya Serebryany <kcc@google.com>
1076
1077 * All source files: Merge from upstream r196489.
1078 * merge.sh: Add *.S to the list of merged files.
1079
666ee4d6
YG
10802013-12-05 Yury Gribov <y.gribov@samsung.com>
1081
1082 PR sanitizer/59368
1083 * Makefile.am (gcc_version): Added gcc_version.
1084 * Makefile.in: Regenerate.
1085
df77f0e4
KS
10862013-12-05 Kostya Serebryany <kcc@google.com>
1087
1088 * All source files: Merge from upstream r196090.
1089 * tsan/Makefile.am (tsan_files): Added new files.
1090 * tsan/Makefile.in: Regenerate.
1091 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
1092 * sanitizer_common/Makefile.in: Regenerate.
1093 * lsan/Makefile.am (lsan_files): Added new files.
1094 * lsan/Makefile.in: Regenerate.
1095
35814b03
JJ
10962013-11-29 Jakub Jelinek <jakub@redhat.com>
1097 Yury Gribov <y.gribov@samsung.com>
1098
1099 PR sanitizer/59063
1100 * libsanitizer.spec.in: Add spec file to hold link flags for
1101 various sanitizer libs.
1102 * configure.ac: Check whether clock_* routines come from librt.
1103 * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
1104 configure.ac.
1105 * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
1106 * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
1107 * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
1108 * asan/Makefile.in: Regenerate.
1109 * interception/Makefile.in: Regenerate.
1110 * lsan/Makefile.in: Regenerate.
1111 * sanitizer_common/Makefile.in: Regenerate.
1112 * tsan/Makefile.in: Regenerate.
1113 * ubsan/Makefile.in: Regenerate.
1114 * Makefile.in: Regenerate.
1115 * configure: Regenerate.
1116
049558ed
JJ
11172013-11-28 Jakub Jelinek <jakub@redhat.com>
1118 Yury Gribov <y.gribov@samsung.com>
1119
1120 PR sanitizer/59106
1121 * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
1122 don't need it.
1123 * ubsan/Makefile.in: Regenerated.
1124
9065ada9
JJ
11252013-11-22 Jakub Jelinek <jakub@redhat.com>
1126
1127 PR sanitizer/59061
1128 * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
1129 * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
1130 * configure: Regenerated.
1131 * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
1132 liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
1133 * lsan/Makefile.in: Regenerated.
1134
486294d4
MS
11352013-11-22 Mike Stump <mikestump@comcast.net>
1136
1137 * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
1138 change from upstream to fix build.
1139
2621c860
YG
11402013-11-18 Yury Gribov <y.gribov@samsung.com>
1141
1142 PR sanitizer/59106
1143 * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
1144 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
1145 * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
1146 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
1147 * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
1148 * asan/Makefile.in: Regenerate.
1149 * interception/Makefile.in: Regenerate.
1150 * tsan/Makefile.in: Regenerate.
1151 * lsan/Makefile.in: Regenerate.
1152 * sanitizer_common/Makefile.in: Regenerate.
1153
c8e1377b
KS
11542013-11-15 Kostya Serebryany <kcc@google.com>
1155
1156 PR sanitizer/58994
92a285c1
ML
1157 Backport from upstream revision 194573
1158 * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
1159 back to the original functions in the common libsanitizer
1160 interceptors and the __cxa_atexit() interceptor on Darwin.
c8e1377b 1161
c3d77f3a
PB
11622013-11-13 Peter Bergner <bergner@vnet.ibm.com>
1163
1164 PR sanitizer/59009
1165 * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
1166 ifdef out more source.
1167
d00106f4
JJ
11682013-11-12 Jakub Jelinek <jakub@redhat.com>
1169
1170 * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
1171 ifdef out almost the whole source.
1172 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
1173
e276866f
L
11742013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1175
1176 PR sanitizer/59018
1177 * sanitizer_common/sanitizer_platform_limits_posix.cc
1178 (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
1179 defined.
1180
f5c36cfc
L
11812013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1182
1183 PR sanitizer/59018
1184 * sanitizer_common/sanitizer_platform_limits_linux.cc
1185 (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
1186 defined.
1187 * sanitizer_common/sanitizer_platform_limits_posix.h
1188 (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
1189 defined.
1190 (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
1191 is defined.
1192 (__sanitizer___kernel_gid_t): Likewise.
1193 (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
1194 is defined.
1195
e45de14e
L
11962013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1197
1198 PR sanitizer/59018
1199 * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
1200 2 64-bit integers to save and restore fn and arg. Properly load
1201 newtls/child_tidptr into r8/r10.
1202
38693e39
L
12032013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1204
1205 PR sanitizer/59018
1206 * sanitizer_common/sanitizer_linux.cc (internal_mmap,
1207 internal_munmap, internal_open, internal_read, internal_write,
1208 internal_stat, internal_lstat, internal_fstat, internal_readlink,
1209 internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
1210 BlockingMutex::Unlock, internal_ptrace, internal_getdents,
1211 internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
1212
ef1b3fda
KS
12132013-11-04 Kostya Serebryany <kcc@google.com>
1214
1215 * All source files: Merge from upstream r191666.
1216 * merge.sh: Added lsan.
1217 * configure.ac (AC_CONFIG_FILES): Added lsan.
1218 * Makefile.am (SUBDIRS): Added lsan.
1219 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
1220 * asan/Makefile.am (asan_files): Added new files.
1221 (libasan_la_LIBADD): Added a dependency on lsan.
1222 * lsan/Makefile.am: New file.
1223 * asan/Makefile.in: Regenerate.
1224 * lsan/Makefile.in: Regenerate.
1225 * Makefile.in: Regenerate.
1226 * configure: Regenerate.
1227 * sanitizer_common/Makefile.in: Regenerate.
1228
3cbe17f7
AM
12292013-09-20 Alan Modra <amodra@gmail.com>
1230
1231 * configure: Regenerate.
1232
0cea211e
IS
12332013-09-01 Iain Sandoe <iain@codesourcery.com>
1234
1235 * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
1236 libinterception.la for Darwin.
1237 * ubsan/Makefile.in: Regenerate.
1238
de5a5fa1
MP
12392013-08-30 Jakub Jelinek <jakub@redhat.com>
1240
1241 * Makefile.am (SUBDIRS): Add ubsan.
1242 * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
1243 * merge.sh: Merge ubsan.
1244 * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
1245 * sanitizer_common/sanitizer_printf.cc: Likewise.
1246 * sanitizer_common/sanitizer_common.h: Likewise.
1247 * ubsan: New directory. Import ubsan runtime from llvm.
1248
634cfa2b
CL
12492013-06-03 Christophe Lyon <christophe.lyon@linaro.org>
1250
1251 * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
1252 Cherry pick upstream r182922.
1253
8a5800b8
CL
12542013-05-07 Christophe Lyon <christophe.lyon@linaro.org>
1255
1256 * configure.tgt: Add ARM pattern.
1257
a745e444 12582013-03-22 Jakub Jelinek <jakub@redhat.com>
1868beee
JJ
1259
1260 PR other/43620
1261 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
1262 * Makefile.in: Regenerated.
1263 * asan/Makefile.in: Regenerated.
1264 * interception/Makefile.in: Regenerated.
1265 * sanitizer_common/Makefile.in: Regenerated.
1266 * tsan/Makefile.in: Regenerated.
1267
4c376126
JJ
12682013-02-28 Jakub Jelinek <jakub@redhat.com>
1269
1270 * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
1271 * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
1272 0x4fffffffffULL.
1273
7d613735
JJ
12742013-02-22 Jakub Jelinek <jakub@redhat.com>
1275
1276 PR sanitizer/56393
1277 * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
1278 libasan_preinit.o.
1279 (libasan_preinit.o): Depend on asan_preinit.o.
1280 * asan/Makefile.in: Regenerated.
1281 * asan/asan_preinit.cc: New file, synced from upstream.
1282 * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
1283
ecdbd01a 12842013-02-21 Jack Howarth <howarth@bromo.med.uc.edu>
304886c5
JH
1285
1286 * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
1287 dynamic/asan_interceptors_dynamic.cc.
1288 * asan/Makefile.in: Regenerated.
1289 * merge.sh: Remove merge of deprecated lib/asan/dynamic.
1290
4be7da26
JJ
12912013-02-21 Jakub Jelinek <jakub@redhat.com>
1292
1293 * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
1294 defined. Add used attribute.
1295
7df59255
KS
12962013-02-21 Kostya Serebryany <kcc@google.com>
1297
1298 * All source files: Merge from upstream r175733.
1299 * sanitizer_common/Makefile.am: Added a new file.
1300 * sanitizer_common/Makefile.in: Regenerated.
1301
8afd2ed7
L
13022013-02-14 H.J. Lu <hongjiu.lu@intel.com>
1303
1304 PR bootstrap/56327
1305 * interception/interception.h (OFF_T): Merged from upstream
1306 r175140.
1307
6422242b
JJ
13082013-02-13 Jakub Jelinek <jakub@redhat.com>
1309
1310 * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
1311
b4ab7d34
KS
13122013-02-13 Kostya Serebryany <kcc@google.com>
1313
8afd2ed7 1314 PR sanitizer/56128
b4ab7d34
KS
1315 * All source files: Merge from upstream r175049.
1316 * interception/Makefile.am: added include path.
1317 * interception/Makefile.in: Regenerated.
1318
34dc17ed
JH
13192013-02-11 Jack Howarth <howarth@bromo.med.uc.edu>
1320
1321 * configure.tgt: Disable build on darwin9 and earlier.
1322
2660d12d
KS
13232013-01-23 Kostya Serebryany <kcc@google.com>
1324
8afd2ed7 1325 PR sanitizer/55989
2660d12d
KS
1326 * All source files: Merge from upstream r173241.
1327 * merge.sh: Support merging .inc files.
1328
19006c45
JJ
13292013-01-16 Jakub Jelinek <jakub@redhat.com>
1330
1331 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
1332 -Wno-c99-extensions.
1333 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
1334 * asan/Makefile.am (AM_CXXFLAGS): Likewise.
1335 * sanitizer_common/Makefile.in: Regenerated.
1336 * interception/Makefile.in: Regenerated.
1337 * asan/Makefile.in: Regenerated.
1338
edadb734
WM
13392013-01-10 Wei Mi <wmi@google.com>
1340
1341 PR sanitizer/55488
1342 * tsan/Makefile.am: Add tsan_rtl_amd64.S.
1343 * tsan/Makefile.in: Regenerated.
1344 * tsan/tsan_rtl.h: Enable HACKY_CALL.
1345
e9772e16
KS
13462013-01-10 Kostya Serebryany <kcc@google.com>
1347
1348 * All source files: Merge from upstream r171973.
1349 * sanitizer_common/Makefile.am: Added new files.
1350 * asan/Makefile.am: Likewise.
1351 * tsan/Makefile.am: Likewise.
1352 * sanitizer_common/Makefile.in: Regenerated.
1353 * asan/Makefile.in: Likewise.
1354 * tsan/Makefile.in: Likewise.
1355
7f7162cf
L
13562013-01-07 H.J. Lu <hongjiu.lu@intel.com>
1357
1358 * asan/Makefile.am (libasan_la_LIBADD): Replace
1359 LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
1360 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1361 * Makefile.in: Regenerated.
1362 * configure: Likewise.
1363 * asan/Makefile.in: Likewise.
1364 * interception/Makefile.in: Likewise.
1365 * sanitizer_common/Makefile.in: Likewise.
1366 * tsan/Makefile.in: Likewise.
1367
b488a2c7
L
13682012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1369
1370 * Makefile.am (AM_MAKEFLAGS): Restored.
1371 * interception/Makefile.am: Likewise.
1372 * sanitizer_common/Makefile.am: Likewise.
1373 * tsan/Makefile.am: Likewise.
1374 * Makefile.in: Regenerated.
1375 * asan/Makefile.in: Likewise.
1376 * interception/Makefile.in: Likewise.
1377 * sanitizer_common/Makefile.in: Likewise.
1378 * tsan/Makefile.in: Likewise.
1379
e8adb21b
L
13802012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1381
1382 * Makefile.am (MAKEOVERRIDES): Restored.
1383 * asan/Makefile.am: Likewise.
1384 * interception/Makefile.am: Likewise.
1385 * sanitizer_common/Makefile.am: Likewise.
1386 * tsan/Makefile.am: Likewise.
1387 * Makefile.in: Regenerated.
1388 * asan/Makefile.in: Likewise.
1389 * interception/Makefile.in: Likewise.
1390 * sanitizer_common/Makefile.in: Likewise.
1391 * tsan/Makefile.in: Likewise.
1392
e1e953d9
L
13932012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1394
1395 * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
1396 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1397 * Makefile.in: Regenerated.
1398 * configure: Likewise.
1399 * asan/Makefile.in: Likewise.
1400 * interception/Makefile.in: Likewise.
1401 * sanitizer_common/Makefile.in: Likewise.
1402 * tsan/Makefile.in: Likewise.
1403
a62d3903
L
14042012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1405
1406 * Makefile.am (AM_MAKEFLAGS): Removed.
1407 (MAKEOVERRIDES): Likewise.
1408 * asan/Makefile.am: Likewise.
1409 * interception/Makefile.am: Likewise.
1410 * sanitizer_common/Makefile.am: Likewise.
1411 * tsan/Makefile.am: Likewise.
1412 * Makefile.in: Regenerated.
1413 * asan/Makefile.in: Likewise.
1414 * interception/Makefile.in: Likewise.
1415 * sanitizer_common/Makefile.in: Likewise.
1416 * tsan/Makefile.in: Likewise.
1417
d10a2df2
L
14182012-12-11 H.J. Lu <hongjiu.lu@intel.com>
1419
1420 PR sanitizer/55533
1421 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
1422 * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
1423 * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
1424 (AM_MAKEFLAGS): Remove CC and CXX.
1425 * interception/Makefile.am: Likewise.
1426 * sanitizer_common/Makefile.am: Likewise.
1427 * tsan/Makefile.am: Likewise.
1428 * Makefile.in: Regenerated.
1429 * aclocal.m4: Likewise.
1430 * configure: Likewise.
1431 * asan/Makefile.in: Likewise.
1432 * interception/Makefile.in: Likewise.
1433 * sanitizer_common/Makefile.in: Likewise.
1434 * tsan/Makefile.in: Likewise.
1435
957fee09
PB
14362012-12-06 Peter Bergner <bergner@vnet.ibm.com>
1437
1438 * configure.tgt: Enable build on powerpc*-linux.
1439
ecdbd01a 14402012-12-06 Jack Howarth <howarth@bromo.med.uc.edu>
3157880f
JH
1441
1442 PR 55599/sanitizer
d10a2df2
L
1443 * configure.ac: Set enable_static=no on darwin.
1444 * configure: Regenerated.
3157880f 1445
695edbac
KS
14462012-12-06 Kostya Serebryany <kcc@google.com>
1447
1448 * All files: Merge from upstream r169392.
1449
a0408454
KS
14502012-12-05 Kostya Serebryany <kcc@google.com>
1451
1452 * All files: Merge from upstream r169371.
1453
41d37c56 14542012-12-04 Kostya Serebryany <kcc@google.com>
ecdbd01a 1455 Jack Howarth <howarth@bromo.med.uc.edu>
8c4d267c
KS
1456
1457 PR 55521/sanitizer
1458 * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
1459 * Makefile.am: Don't build interception subdir when
1460 USING_MAC_INTERPOSE defined.
1461 * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
1462 -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
1463 Compile asan_interceptors_dynamic.cc but not libinterception
1464 when USING_MAC_INTERPOSE defined.
1465 * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
1466 * configure: Regenerated.
1467 * Makefile.in: Likewise.
1468 * asan/Makefile.in: Likewise.
1469 * interception/Makefile.in: Likewise.
1470 * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
1471 * asan/asan_mac.cc: Likewise.
1472 * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
1473 and use MISSING_BLOCKS_SUPPORT.
1474 * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
1475 * interception/mach_override/LICENSE.txt: Remove unused file.
1476 * interception/mach_override/mach_override.c: Likewise.
1477 * interception/mach_override/mach_override.h: Likewise.
1478 * interception/mach_override: Remove unused directory.
1479
a23ed040
L
14802012-11-28 H.J. Lu <hongjiu.lu@intel.com>
1481
1482 * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
1483 * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
1484 * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
1485 files.
1486 (AM_MAKEFLAGS): Restore CC and CXX.
1487 * interception/Makefile.am: Likewise.
1488 * sanitizer_common/Makefile.am: Likewise.
1489 * tsan/Makefile.am: Likewise.
1490 * Makefile.in: Regenerated.
1491 * aclocal.m4: Likewise.
1492 * configure: Likewise.
1493 * asan/Makefile.in: Likewise.
1494 * interception/Makefile.in: Likewise.
1495 * sanitizer_common/Makefile.in: Likewise.
1496 * tsan/Makefile.in: Likewise.
1497
2ed685b8
L
14982012-11-28 H.J. Lu <hongjiu.lu@intel.com>
1499
1500 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
1501 * configure.ac (ACX_NONCANONICAL_TARGET): New.
1502 * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
1503 files.
1504 (AM_MAKEFLAGS): Remove CC and CXX.
1505 * interception/Makefile.am: Likewise.
1506 * sanitizer_common/Makefile.am: Likewise.
1507 * tsan/Makefile.am: Likewise.
1508 * Makefile.in: Regenerated.
1509 * aclocal.m4: Likewise.
1510 * configure: Likewise.
1511 * asan/Makefile.in: Likewise.
1512 * interception/Makefile.in: Likewise.
1513 * sanitizer_common/Makefile.in: Likewise.
1514 * tsan/Makefile.in: Likewise.
1515
4ba5ca46
KS
15162012-11-27 Kostya Serebryany <kcc@google.com>
1517
1518 * All files: Merge from upstream r168699.
1519
41d37c56 15202012-11-24 Kostya Serebryany <kcc@google.com>
ecdbd01a 1521 Jack Howarth <howarth@bromo.med.uc.edu>
f246eadc
JH
1522
1523 * interception/mach_override/mach_override.c: Migrate from llvm.
1524 * interception/mach_override/mach_override.h: Likewise.
1525 * interception/mach_override/LICENSE.txt: Likewise.
1526 * configure.tgt: Add darwin to supported targets.
1527 * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
1528 * interception/Makefile.am: Compile mach_override.c when
1529 USING_MACH_OVERRIDE defined.
1530 * configure: Regenerated.
1531 * interception/Makefile.in: Likewise.
1532
9cb5411c
L
15332012-11-23 H.J. Lu <hongjiu.lu@intel.com>
1534
1535 PR sanitizer/55450
1536 * tsan/Makefile.am (gcc_version): New.
1537 * tsan/Makefile.in: Regenerated.
1538
3409d40e 15392012-11-23 Kostya Serebryany <kcc@google.com>
9cb5411c 1540
e297eb60
KS
1541 * merge.sh: Support tsan, support added/removed files.
1542 * tsan/Makefile.am: Remove tsan_printf.cc.
1543 * tsan/Makefile.in: Regenerated.
1544 * other files: Merge from upstream r168514.
1545
15462012-11-23 Kostya Serebryany <kcc@google.com>
9cb5411c 1547
e297eb60 1548 * merge.sh: New file.
3409d40e 1549
64548f3b
JJ
15502012-11-23 Jakub Jelinek <jakub@redhat.com>
1551
1552 * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
1553 * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
1554 automake conditional instead of !MULTISUBDIR32.
1555 * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
1556 for 64-bit multilib.
1557 * configure.ac: Check for void * size, source in configure.tgt,
1558 define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
1559 * configure: Regenerated.
1560 * Makefile.in: Regenerated.
1561 * tsan/Makefile.in: Regenerated.
1562
cd0be65c
WM
15632012-11-22 Wei Mi <wmi@google.com>
1564
1565 * tsan: New directory. Import tsan runtime from llvm.
1566 * configure.ac: Add 64 bits tsan build.
1567 * Makefile.am: Likewise.
1568 * configure: Regenerated.
1569 * Makefile.in: Likewise.
1570
5cba83a8
KS
15712012-11-21 Kostya Serebryany <kcc@google.com>
1572
9cb5411c 1573 * README.gcc: Extend the README.gcc with mode details.
5cba83a8 1574
b014e124
KS
15752012-11-20 Konstantin Serebryany <konstantin.s.serebryany@gmail.com>
1576
1577 * sanitizer_common/sanitizer_linux.cc
1578 (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
1579 (internal_mmap): Use it.
1580 (internal_filesize): Likewise.
1581
2b723e21
TT
15822012-11-16 Tom Tromey <tromey@redhat.com>
1583
1584 * configure.ac: Invoke AM_MAINTAINER_MODE.
1585 * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
1586 interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
1587
d1caed14
L
15882012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1589
1590 PR other/55333
1591 * include/sanitizer/common_interface_defs.h (uhwptr): New type
1592 for hardware pointer.
1593 * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
1594 Replace uptr with uhwptr for stack unwind.
1595
f3754998
DS
15962012-11-16 Dodji Seketeli <dodji@redhat.com>
1597
1598 * configure.tgt: Enable build on sparc linux.
1599
f64bcb29
L
16002012-11-15 H.J. Lu <hongjiu.lu@intel.com>
1601
1602 * configure.ac: Properly set MULTISUBDIR.
1603 * asan/Makefile.am (gcc_version): New.
1604 * interception/Makefile.am (gcc_version): Likewise.
1605 * sanitizer_common/Makefile.am (gcc_version): Likewise.
1606 * configure: Regenerated.
1607 * asan/Makefile.in: Likewise.
1608 * interception/Makefile.in: Likewise.
1609 * sanitizer_common/Makefile.in: Likewise.
1610
2a6346c4
L
16112012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1612
1613 PR other/55291
1614 * configure.ac (--enable-version-specific-runtime-libs): New option.
1615 (AC_CANONICAL_SYSTEM): New.
1616 (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
1617 (toolexecdir): Support multilib.
1618 (toolexeclibdir): Likewise.
1619 (multilib_arg): New.
1620 * Makefile.in: Regenerated.
1621 * aclocal.m4: Likewise.
1622 * configure: Likewise.
1623 * asan/Makefile.in: Likewise.
1624 * interception/Makefile.in: Likewise.
1625 * sanitizer_common/Makefile.in: Likewise.
1626
4a56a7be
L
16272012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1628
1629 PR other/55292
1630 Backport from upstream revision 167883
1631 * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
1632 __x86_64__ instead of __WORDSIZE.
1633 (internal_filesize): Likwise.
1634
4053ca2c
L
16352012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1636
1637 * configure.ac (AC_CONFIG_AUX_DIR): Removed.
1638 * Makefile.in: Regenerated.
1639 * configure: Likewise.
1640
a2479b3d
L
16412012-11-13 H.J. Lu <hongjiu.lu@intel.com>
1642
1643 PR other/55304
1644 * acinclude.m4: New file.
1645 * Makefile.am (ACLOCAL_AMFLAGS): New.
1646 * configure.ac (AC_PREREQ): Set to 2.64.
1647 (AC_CONFIG_AUX_DIR): Set to "..".
1648 * Makefile.in: Regenerated.
1649 * aclocal.m4: Likewise.
1650 * configure: Likewise.
1651 * asan/Makefile.in: Likewise.
1652 * interception/Makefile.in: Likewise.
1653 * sanitizer_common/Makefile.in: Likewise.
1654
1655 * config.guess: Removed.
1656 * config.sub: Likewise.
1657 * depcomp: Likewise.
1658 * install-sh: Likewise.
1659 * ltmain.sh: Likewise.
1660 * missing: Likewise.
1661
93bf5390
RH
16622012-11-13 Richard Henderson <rth@redhat.com>
1663
1664 * configure.tgt: New file.
1665
d2860e72
DM
16662012-11-12 David S. Miller <davem@davemloft.net>
1667
1668 * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
1669
f35db108
WM
16702012-10-29 Wei Mi <wmi@google.com>
1671
1672 Initial checkin: migrate asan runtime from llvm.