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