]> git.ipfire.org Git - thirdparty/gcc.git/blame - libsanitizer/ChangeLog
re PR c++/86398 (is_trivially_constructible always returns true even when is_construc...
[thirdparty/gcc.git] / libsanitizer / ChangeLog
CommitLineData
3b07c0e5
DK
12018-06-13 Denis Khalikov <d.khalikov@partner.samsung.com>
2
3 PR sanitizer/86090
4 * configure.ac: Check for lstat and readlink.
5 * configure, config.h.in: Rebuild.
6
5b87c1fe
MK
72018-05-31 Matthias Klose <doko@ubuntu.com>
8
9 PR sanitizer/86012
10 * sanitizer_common/sanitizer_platform_limits_posix.cc: Define
11 SIZEOF_STRUCT_USTAT for 32bit sparc.
12
71b55d45
L
132018-05-24 H.J. Lu <hongjiu.lu@intel.com>
14
15 PR sanitizer/85835
16 * sanitizer_common/sanitizer_platform_limits_posix.cc: Don't
17 include <sys/ustat.h> for Linux.
18 (SIZEOF_STRUCT_USTAT): New.
19 (struct_ustat_sz): Use SIZEOF_STRUCT_USTAT for Linux.
20
bc40f166
HPN
212018-04-26 Hans-Peter Nilsson <hp@axis.com>
22
752361c9
HPN
23 * configure.tgt <mips*-*-linux*>: Enable build, excluding
24 mips*64*-*-linux*.
25
9f943b24
HPN
26 * sanitizer_common/sanitizer_platform_limits_linux.cc: Do not
27 take the shortcut to #include <sys/stat.h> for MIPS instead of
28 the kernel <asm/stat.h>. Explain why sys/stat.h is misleading
29 or wrong to get the kernel struct stat.
30 * sanitizer_common/sanitizer_platform_limits_posix.h [__mips__]:
31 Correct the value for 32-bit non-android struct_kernel_stat_sz.
32
bc40f166
HPN
33 * sanitizer_common/sanitizer_atomic_clang_other.h [_MIPS_SIM
34 && _MIPS_SIM == _ABIO32] (lock): Add initializer for .pad member.
35
7b47ecf2
L
362018-04-24 H.J. Lu <hongjiu.lu@intel.com>
37
38 * configure: Regenerated.
39
a0e1df88
JJ
402018-04-19 Jakub Jelinek <jakub@redhat.com>
41
42 * configure: Regenerated.
43
001ddaa8
DM
442018-04-18 David Malcolm <dmalcolm@redhat.com>
45
46 PR jit/85384
47 * configure: Regenerate.
48
19ddb884
BS
492018-04-18 Bill Seurer <seurer@linux.vnet.ibm.com>
50
51 PR sanitizer/85389
52 * asan/asan_allocator.h (kAllocatorSpace): For __powerpc64__ change
53 from 0xa0000000000ULL to ~(uptr)0.
54
359ea407
JJ
552018-03-19 Jakub Jelinek <jakub@redhat.com>
56
57 PR sanitizer/84761
58 * sanitizer_common/sanitizer_linux_libcdep.cc (__GLIBC_PREREQ):
59 Define if not defined.
60 (DL_INTERNAL_FUNCTION): Don't define.
61 (InitTlsSize): For __i386__ if not compiled against glibc 2.27+
62 determine at runtime whether to use regparm(3), stdcall calling
63 convention for older glibcs or normal calling convention for
64 newer glibcs for call to _dl_get_tls_static_info.
65
1422855a
SB
662018-03-14 Segher Boessenkool <segher@kernel.crashing.org>
67
68 * sanitizer_common/sanitizer_stacktrace.cc
69 (BufferedStackTrace::FastUnwindStack): Use the correct frame offset
70 for PowerPC SYSV ABI.
71
14e335ed
IT
722018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
73
74 PR target/84148
75 * configure: Regenerate.
76
4c4f3c3f
ML
772018-02-05 Martin Liska <mliska@suse.cz>
78
79 * asan/asan_flags.inc: Cherry-pick upstream r323995.
80 * asan/asan_report.cc (CheckForInvalidPointerPair):
81 Cherry-pick upstream r323995.
82
2d509539
RO
832018-01-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
84
85 PR sanitizer/82825
86 * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
9dfc6e83 87 r324284.
2d509539 88
1f7273e5
RO
892018-01-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
90
91 PR sanitizer/82824
92 * lsan/lsan_common_mac.cc: Cherry-pick upstream r322437.
93
05abad4c
ML
942017-12-05 Martin Liska <mliska@suse.cz>
95 Jakub Jelinek <jakub@redhat.com>
96
97 * asan/asan_descriptions.cc: Cherry-pick upstream r319668.
98 * asan/asan_descriptions.h: Likewise.
99 * asan/asan_report.cc: Likewise.
100 * asan/asan_thread.cc: Likewise.
101 * asan/asan_thread.h: Likewise.
102
9069eb28
IT
1032017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
104
105 * acinclude.m4: Add enable.m4 and cet.m4.
106 * Makefile.in: Regenerate.
107 * asan/Makefile.am: Update AM_CXXFLAGS.
108 * asan/Makefile.in: Regenerate.
109 * configure: Likewise.
110 * configure.ac: Set CET_FLAGS. Update EXTRA_CFLAGS,
111 EXTRA_CXXFLAGS, EXTRA_ASFLAGS.
112 * interception/Makefile.am: Update AM_CXXFLAGS.
113 * interception/Makefile.in: Regenerate.
114 * libbacktrace/Makefile.am: Update AM_CFLAGS, AM_CXXFLAGS.
115 * libbacktrace/Makefile.in: Regenerate.
116 * lsan/Makefile.am: Update AM_CXXFLAGS.
117 * lsan/Makefile.in: Regenerate.
118 * sanitizer_common/Makefile.am: Update AM_CXXFLAGS,
119 AM_CCASFLAGS.
120 * sanitizer_common/sanitizer_linux_x86_64.S: Include cet.h.
121 Add _CET_ENDBR macro.
122 * sanitizer_common/Makefile.in: Regenerate.
123 * tsan/Makefile.am: Update AM_CXXFLAGS.
124 * tsan/Makefile.in: Regenerate.
125 * tsan/tsan_rtl_amd64.S Include cet.h. Add _CET_ENDBR macro.
126 * ubsan/Makefile.am: Update AM_CXXFLAGS.
127 * ubsan/Makefile.in: Regenerate.
128
5925290f
JJ
1292017-11-08 Jakub Jelinek <jakub@redhat.com>
130
131 PR bootstrap/82670
132 * ubsan/Makefile.am (ubsan_files): Remove ubsan_init_standalone.cc
133 and ubsan_signals_standalone.cc.
134 * ubsan/Makefile.in: Regenerated.
135
735e62b9
TV
1362017-11-05 Tom de Vries <tom@codesourcery.com>
137
138 PR other/82784
139 * asan/asan_poisoning.cc (CHECK_SMALL_REGION): Remove semicolon after
140 "do {} while (0)".
141 * lsan/lsan_common.cc (LOG_POINTERS, LOG_THREADS): Same.
142
9a45ffbd
JJ
1432017-10-20 Jakub Jelinek <jakub@redhat.com>
144
145 PR sanitizer/82595
146 * lsan/lsan.h (__lsan_init): Add SANITIZER_INTERFACE_ATTRIBUTE.
147 * lsan/Makefile.am (nodist_toolexeclib_HEADERS): Add
148 liblsan_preinit.o.
149 (lsan_files): Remove lsan_preinit.cc.
150 (liblsan_preinit.o): New rule.
151 * lsan/Makefile.in: Regenerated.
152
5d3805fc
JJ
1532017-10-19 Jakub Jelinek <jakub@redhat.com>
154
155 * All source files: Merge from upstream 315899.
156 * asan/Makefile.am (nodist_saninclude_HEADERS): Add
157 include/sanitizer/tsan_interface.h.
158 * asan/libtool-version: Bump the libasan SONAME.
159 * lsan/Makefile.am (sanitizer_lsan_files): Add lsan_common_mac.cc.
160 (lsan_files): Add lsan_linux.cc, lsan_mac.cc and lsan_malloc_mac.cc.
161 * sanitizer_common/Makefile.am (sanitizer_common_files): Add
162 sancov_flags.cc, sanitizer_allocator_checks.cc,
163 sanitizer_coverage_libcdep_new.cc, sanitizer_errno.cc,
164 sanitizer_file.cc, sanitizer_mac_libcdep.cc and
165 sanitizer_stoptheworld_mac.cc. Remove sanitizer_coverage_libcdep.cc
166 and sanitizer_coverage_mapping_libcdep.cc.
167 * tsan/Makefile.am (tsan_files): Add tsan_external.cc.
168 * ubsan/Makefile.am (DEFS): Add -DUBSAN_CAN_USE_CXXABI=1.
169 (ubsan_files): Add ubsan_init_standalone.cc and
170 ubsan_signals_standalone.cc.
171 * ubsan/libtool-version: Bump the libubsan SONAME.
172 * asan/Makefile.in: Regenerate.
173 * lsan/Makefile.in: Regenerate.
174 * sanitizer_common/Makefile.in: Regenerate.
175 * tsan/Makefile.in: Regenerate.
176 * ubsan/Makefile.in: Regenerate.
177
bf4df9e6
L
1782017-10-05 H.J. Lu <hongjiu.lu@intel.com>
179
180 PR sanitizer/82379
181 * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Set
182 to sanitizer_linux_x86_64.lo if __x86_64__ is defined by $CC.
183
d1453bec
JJ
1842017-10-02 Jakub Jelinek <jakub@redhat.com>
185
186 * libbacktrace/backtrace-rename.h (backtrace_uncompress_zdebug):
187 Define.
188
a5320f3c
JJ
1892017-08-07 Jakub Jelinek <jakub@redhat.com>
190
191 * include/system/sys/ptrace.h: New file.
192
c9b39a49
JJ
1932017-07-28 Jakub Jelinek <jakub@redhat.com>
194
195 PR sanitizer/80998
196 * ubsan/ubsan_handlers.cc: Cherry-pick upstream r304461.
197 * ubsan/ubsan_checks.inc: Likewise.
198 * ubsan/ubsan_handlers.h: Likewise.
199
144e36a7
JJ
2002017-07-14 Jakub Jelinek <jakub@redhat.com>
201
202 PR sanitizer/81066
203 * sanitizer_common/sanitizer_linux.h: Cherry-pick upstream r307969.
204 * sanitizer_common/sanitizer_linux.cc: Likewise.
205 * sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: Likewise.
206 * tsan/tsan_platform_linux.cc: Likewise.
207
d9f8c5af
ML
2082017-04-06 Martin Liska <mliska@suse.cz>
209
210 PR sanitizer/80166
211 * sanitizer_common/sanitizer_common_interceptors.inc (INTERCEPTOR):
212 Cherry-pick upstream r299036.
213
fd6cba40
JJ
2142017-03-22 Jakub Jelinek <jakub@redhat.com>
215
216 PR sanitizer/78158
217 * tsan/tsan_interface_atomic.cc: Cherry-pick upstream r298378.
218
9b9ad360
AT
2192017-02-16 Andreas Tobler <andreast@gcc.gnu.org>
220
221 PR sanitizer/79562
222 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry-pick
223 upstream r294806.
224
1509524b
JJ
2252017-02-11 Jakub Jelinek <jakub@redhat.com>
226
227 PR sanitizer/79341
228 * configure.tgt (s390*-*-linux*): Don't disable libsanitizer on
229 s390-linux 31-bit.
230 * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
231 r294793.
232 * sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
233 upstream r294790.
234 * sanitizer_common/sanitizer_linux_s390.cc: Cherry-pick upstream
235 r294799.
236
778e0ac3
MO
2372017-02-03 Maxim Ostapenko <m.ostapenko@samsung.com>
238
239 PR sanitizer/78663
240 * sanitizer_common/sanitizer_mac.cc: Cherry-pick upstream r293992.
241 * sanitizer_common/sanitizer_platform_interceptors.h: Likewise.
242
4997a71d
JJ
2432017-01-31 Jakub Jelinek <jakub@redhat.com>
244
245 * configure.tgt: Enable asan and ubsan on 64-bit s390*-*-linux*.
246
86b2a558
JJ
2472017-01-24 Jakub Jelinek <jakub@redhat.com>
248
c831801d
JJ
249 * configure.tgt: Enable tsan and lsan on powerpc64{,le}-*-linux*.
250
86b2a558
JJ
251 PR sanitizer/79168
252 * merge.sh (change_comment_headers): Don't remove 2nd and 3rd line
253 if the 3rd line doesn't contain 'The LLVM Compiler Infrastructure'
254 text.
255 * sanitizer_common/sanitizer_linux_mips64.S: Regenerated.
256 * sanitizer_common/sanitizer_linux_x86_64.S: Likewise.
257 * tsan/tsan_ppc_regs.h: Likewise.
258 * tsan/tsan_rtl_aarch64.S: Likewise.
259 * tsan/tsan_rtl_mips64.S: Likewise.
260 * tsan/tsan_rtl_ppc64.S: Likewise.
261
73aa401e
JJ
2622017-01-21 Jakub Jelinek <jakub@redhat.com>
263
264 PR other/79046
265 * interception/Makefile.am (gcc_version): Use @get_gcc_base_ver@
266 instead of cat to get version from BASE-VER file.
267 * asan/Makefile.am (gcc_version): Likewise.
268 * ubsan/Makefile.am (gcc_version): Likewise.
269 * sanitizer_common/Makefile.am (gcc_version): Likewise.
270 * lsan/Makefile.am (gcc_version): Likewise.
271 * tsan/Makefile.am (gcc_version): Likewise.
272 * interception/Makefile.in: Regenerated.
273 * asan/Makefile.in: Regenerated.
274 * ubsan/Makefile.in: Regenerated.
275 * sanitizer_common/Makefile.in: Regenerated.
276 * lsan/Makefile.in: Regenerated.
277 * tsan/Makefile.in: Regenerated.
278
3c36aa6b
JJ
2792017-01-17 Jakub Jelinek <jakub@redhat.com>
280
281 PR other/79046
282 * configure.ac: Add GCC_BASE_VER.
283 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
284 get version from BASE-VER file.
285 * libbacktrace/Makefile.in: Regenerated.
286 * interception/Makefile.in: Regenerated.
287 * asan/Makefile.in: Regenerated.
288 * ubsan/Makefile.in: Regenerated.
289 * configure: Regenerated.
290 * sanitizer_common/Makefile.in: Regenerated.
291 * lsan/Makefile.in: Regenerated.
292 * Makefile.in: Regenerated.
293 * tsan/Makefile.in: Regenerated.
294
942136a4
JC
2952017-01-10 James Clarke <jrtc27@jrtc27.com>
296
297 PR sanitizer/78992
298 * sanitizer_common/sanitizer_platform_limits_posix.h
299 (struct __sanitizer_sigaction): Cherry-pick upstream r291561.
300
11bbe995
MO
3012016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
302
303 * LOCAL_PATCHES: Add revision.
304
d61ed91e
MO
3052016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
306
307 PR sanitizer/78532
308 * sanitizer_common/sanitizer_platform_limits_posix.h
309 (__sanitizer_sigaction): Adjust for sparc targets and various Glibc
310 versions.
311
f4214e23
MT
3122016-11-29 Markus Trippelsdorf <markus@trippelsdorf.de>
313
314 * LOCAL_PATCHES: Remove r242480.
315
00212843
RO
3162016-11-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
317
318 * LOCAL_PATCHES: Add revision.
319
97448adf
RO
3202016-11-20 Jack Howarth <howarth.at.gcc@gmail.com>
321
322 PR sanitizer/78267
323 * sanitizer_common/sanitizer_mac.cc: Include <os/trace.h> only if
324 compiler supports blocks extension.
325
61a58d07
MT
3262016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
327
328 * LOCAL_PATCHES: Add revision.
329
8c32ae0e
MT
3302016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
331
332 PR sanitizer/78294
333 * tsan/tsan_rtl.cc: Add missing attribute.
334
949cc52d
MO
3352016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
336
337 * LOCAL_PATCHES: New file.
338
511c8687
MO
3392016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
340
341 PR sanitizer/78307
342 * ubsan/ubsan_handlers.cc (__ubsan_handle_cfi_bad_icall): New function.
343 ( __ubsan_handle_cfi_bad_icall_abort): Likewise.
344 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): New type.
345 * ubsan/ubsan_handlers_cxx.cc (__ubsan_handle_cfi_bad_type): New
346 function.
347 (__ubsan_handle_cfi_bad_type_abort): Likewise.
348 * ubsan/ubsan_handlers_cxx.h (struct CFIBadTypeData): New type.
349 (__ubsan_handle_cfi_bad_type): Export function.
350 (__ubsan_handle_cfi_bad_type_abort): Likewise.
351 * HOWTO_MERGE: Update documentation.
352
84c1b9d3
MK
3532016-11-15 Matthias Klose <doko@ubuntu.com>
354
355 * configure: Regenerate.
356
8f16b6ca
MO
3572016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
358
359 * asan/asan_globals.cc (RegisterGlobal): Do not call
360 CheckODRViolationViaPoisoning.
361 (CheckODRViolationViaPoisoning): Remove.
362
789306de
MO
3632016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
364
365 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
366 compiled code with GCC when extracting the caller PC for ARM if no
367 valid frame pointer is available.
368
fe7913f6
MO
3692016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
370
371 PR sanitizer/63958
372 Reapply:
373 2014-10-14 David S. Miller <davem@davemloft.net>
374
375 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
376 Define at __kernel_time_t, as needed for sparc.
377 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
378 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
379 (__sanitizer): Define struct___old_kernel_stat_sz,
380 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
381 (__sanitizer_ipc_perm): Adjust for sparc targets.
382 (__sanitizer_shmid_ds): Likewsie.
383 (__sanitizer_sigaction): Likewise.
384 (IOC_SIZE): Likewsie.
385
10189819
MO
3862016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
387
388 * All source files: Merge from upstream 285547.
389 * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): New
390 variable.
391 * configure.ac (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Handle it.
392 * asan/Makefile.am (asan_files): Add new files.
393 * asan/Makefile.in: Regenerate.
394 * ubsan/Makefile.in: Likewise.
395 * lsan/Makefile.in: Likewise.
396 * tsan/Makefile.am (tsan_files): Add new files.
397 * tsan/Makefile.in: Regenerate.
398 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
399 (EXTRA_libsanitizer_common_la_SOURCES): Define.
400 (libsanitizer_common_la_LIBADD): Likewise.
401 (libsanitizer_common_la_DEPENDENCIES): Likewise.
402 * sanitizer_common/Makefile.in: Regenerate.
403 * interception/Makefile.in: Likewise.
404 * libbacktace/Makefile.in: Likewise.
405 * Makefile.in: Likewise.
406 * configure: Likewise.
407 * merge.sh: Handle builtins/assembly.h merging.
408 * builtins/assembly.h: New file.
409 * asan/libtool-version: Bump the libasan SONAME.
410
aef6a97c
JJ
4112016-09-21 Jakub Jelinek <jakub@redhat.com>
412
413 PR sanitizer/77567
414 * asan/asan_new_delete.cc: Cherry-pick upstream r282019.
415
0ce48391
JJ
4162016-09-05 Jakub Jelinek <jakub@redhat.com>
417
418 PR sanitizer/77396
419 * asan/asan_globals.cc: Cherry-pick upstream r280657.
420
e23a7a99
JJ
4212016-08-12 Jakub Jelinek <jakub@redhat.com>
422
423 PR sanitizer/71042
424 * tsan/tsan_platform_linux.cc: Cherry-pick upstream r278292.
425 * tsan/tsan_rtl_aarch64.S: Likewise.
426
aa00995c
AM
4272016-07-23 Alan Modra <amodra@gmail.com>
428
429 Revert 2015-11-09 Alan Modra <amodra@gmail.com>
430 * configure.ac: Don't substitute OBSTACK_DEFS.
431 * asan/Makefile.am: Remove OBSTACK_DEFS from DEFS.
432 * tsan/Makefile.am: Likewise.
433 * configure: Regenerate.
434 * Makefile.in: Regenerate.
435 * asan/Makefile.in: Regenerate.
436 * interception/Makefile.in: Regenerate.
437 * libbacktrace/Makefile.in: Regenerate.
438 * lsan/Makefile.in: Regenerate.
439 * sanitizer_common/Makefile.in: Regenerate.
440 * tsan/Makefile.in: Regenerate.
441 * ubsan/Makefile.in: Regenerate.
442
69af4eec
JJ
4432016-05-17 Jakub Jelinek <jakub@redhat.com>
444
445 PR sanitizer/71160
446 * asan/asan_malloc_linux.cc: Cherry pick upstream r254395
447 and r269633.
448
fefddbef
MO
4492016-04-21 Maxim Ostapenko <m.ostapenko@samsung.com>
450
451 PR sanitizer/70624
452 * asan/asan_mac.cc: Cherry pick upstream r266868.
453
e4729419
JJ
4542016-01-19 Jakub Jelinek <jakub@redhat.com>
455
456 PR sanitizer/68824
457 * tsan/tsan_interceptors.cc (NEED_TLS_GET_ADDR, __tls_get_addr,
458 InitializeInterceptors): Cherry pick upstream r258119.
459
bf93d543
AT
4602016-01-14 Andreas Tobler <andreast@gcc.gnu.org>
461
462 * configure.ac: Replace the hard-coded -ldl requirement for
463 link_sanitizer_common with a configure time check for -ldl.
464 * configure: Regenerate.
465
9211bbb2
MO
4662015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
467
468 * include/system/linux/asm/ptrace.h: Move to ...
469 * include/system/asm/ptrace.h: ... this.
470
664dd3cf
MO
4712015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
472
473 * include/system/linux/asm/ptrace.h: New header.
474
55aea9f5
MO
4752015-11-23 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
476
477 * All source files: Merge from upstream r253555.
478 * configure.tgt: Enable LSan on aarch64-*-linux* targets. Add new
479 dependences for TSan for aarch64-*-linux* targets.
480 * tsan/Makefile.am: Add new source files.
481 * configure: Regenerate.
482 * tsan/Makefile.in: Likewise.
483
62c0f0a6
AM
4842015-11-09 Alan Modra <amodra@gmail.com>
485
486 * sanitizer_common/sanitizer_common_interceptors.inc: Update size
487 params for _obstack_begin_1, _obstack_begin, _obstack_newchunk
488 interceptors.
489 * configure.ac: Substitute OBSTACK_DEFS.
490 * asan/Makefile.am: Add OBSTACK_DEFS to DEFS.
491 * tsan/Makefile.am: Likewise.
492 * configure: Regenerate.
493 * Makefile.in: Regenerate.
494 * asan/Makefile.in: Regenerate.
495 * interception/Makefile.in: Regenerate.
496 * libbacktrace/Makefile.in: Regenerate.
497 * lsan/Makefile.in: Regenerate.
498 * sanitizer_common/Makefile.in: Regenerate.
499 * tsan/Makefile.in: Regenerate.
500 * ubsan/Makefile.in: Regenerate.
501
692b1131
MO
5022015-10-22 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
503
504 PR bootstrap/68041
505 * configure.ac (link_sanitizer_common): Link against librt only if it
506 contains shm_open, required by sanitizers.
507 (CXX_ABI_NEEDED): Remove variable.
508 * configure: Regenerate.
509 * ubsan/Makefile.am (libubsan_la_LIBADD): Do not add -lc++abi anymore.
510 * ubsan/Makefile.in: Regenerate.
511
7047bc9c
MO
5122015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
513
514 * HOWTO_MERGE: New file.
515
21d61063
MO
5162015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
517
518 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
519 compiled code with GCC when extracting the caller PC for ARM if no
520 valid frame pointer is available.
521
15ebe1fe
MO
5222015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
523
524 PR bootstrap/63888
525 Reapply:
526 2015-02-20 Jakub Jelinek <jakub@redhat.com>
527
528 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
529 support until it is rewritten upstream.
530
531 * c-c++-common/asan/pr63888.c: New test.
532
0d57d3e0
MO
5332015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
534
535 PR sanitizer/63958
536 Reapply:
537 2014-10-14 David S. Miller <davem@davemloft.net>
538
539 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
540 Define at __kernel_time_t, as needed for sparc.
541 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
542 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
543 (__sanitizer): Define struct___old_kernel_stat_sz,
544 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
545 (__sanitizer_ipc_perm): Adjust for sparc targets.
546 (__sanitizer_shmid_ds): Likewsie.
547 (__sanitizer_sigaction): Likewise.
548 (IOC_SIZE): Likewsie.
549
696d846a
MO
5502015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
551
552 * All source files: Merge from upstream r250806.
553 * configure.ac (link_sanitizer_common): Add -lrt flag.
554 * configure.tgt: Enable TSAN and LSAN for aarch64-linux targets.
555 Set USE_CXX_ABI_FLAG=true for darwin.
556 * asan/Makefile.am (asan_files): Add new files.
557 (DEFS): Add DCAN_SANITIZE_UB=0 and remove unused and legacy
558 DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0.
559 * asan/Makefile.in: Regenerate.
560 * ubsan/Makefile.am (ubsan_files): Add new files.
561 (DEFS): Add DCAN_SANITIZE_UB=1.
562 (libubsan_la_LIBADD): Add -lc++abi if USE_CXX_ABI_FLAG is true.
563 * ubsan/Makefile.in: Regenerate.
564 * tsan/Makefile.am (tsan_files): Add new files.
565 (DEFS): Add DCAN_SANITIZE_UB=0.
566 * tsan/Makefile.in: Regenerate.
567 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
568 * sanitizer_common/Makefile.in: Regenerate.
569 * asan/libtool-version: Bump the libasan SONAME.
570
1842a04c
MT
5712015-09-09 Markus Trippelsdorf <markus@trippelsdorf.de>
572
573 PR sanitizer/67258
574 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r244101.
575
97d8f801
MT
5762015-07-29 Markus Trippelsdorf <markus@trippelsdorf.de>
577
578 PR sanitizer/63927
579 * sanitizer_common/sanitizer_stacktrace.h: Use fast unwinder
580 for PowerPC.
581
3d61d875
BS
5822015-07-28 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
583
584 PR sanitizer/63927
585 * sanitizer_common/sanitizer_stacktrace.cc
586 (BufferedStackTrace::FastUnwindStack): Fix code for PowerPC to
587 find the link register at an offset of 16 from the base of the
588 caller's stack frame.
589
f3915b42
MH
5902015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
591
592 * Makefile.in: Regenerated with automake-1.11.6.
593 * aclocal.m4: Likewise.
594 * asan/Makefile.in: Likewise.
595 * configure: Likewise.
596 * interception/Makefile.in: Likewise.
597 * libbacktrace/Makefile.in: Likewise.
598 * lsan/Makefile.in: Likewise.
599 * sanitizer_common/Makefile.in: Likewise.
600 * tsan/Makefile.in: Likewise.
601 * ubsan/Makefile.in: Likewise.
602
d041a6fc
YG
6032015-04-13 Yury Gribov <y.gribov@samsung.com>
604
605 PR sanitizer/64839
606 * sanitizer_common/sanitizer_platform.h: Cherry pick
607 upstream r234470.
608 * sanitizer_common/sanitizer_platform_limits_posix.cc: Ditto.
609 * configure.ac (RPC_DEFS): Check for precense of RPC headers.
610 * sanitizer_common/Makefile.am (DEFS): Pass info to compiler.
611 * Makefile.in: Regenerate.
612 * asan/Makefile.in: Regenerate.
613 * config.h.in: Regenerate.
614 * configure: Regenerate.
615 * interception/Makefile.in: Regenerate.
616 * libbacktrace/Makefile.in: Regenerate.
617 * lsan/Makefile.in: Regenerate.
618 * sanitizer_common/Makefile.in: Regenerate.
619 * tsan/Makefile.in: Regenerate.
620 * ubsan/Makefile.in: Regenerate.
621
622
d886f7cc
CL
6232015-03-23 Christophe Lyon <christophe.lyon@linaro.org>
624
625 PR sanitizer/59009
626 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
627 upstream r230324.
628 * sanitizer_common/sanitizer_platform.h: Likewise.
629 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
630
563fb64a
BE
6312015-03-11 Bernd Edlinger <bernd.edlinger@hotmail.de>
632
633 * tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
634 upstream 224508 and 224755.
635
ee876e59
JJ
6362015-03-09 Jakub Jelinek <jakub@redhat.com>
637
638 PR sanitizer/63958
639 Reapply:
640 2014-10-14 David S. Miller <davem@davemloft.net>
641
642 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
643 Define at __kernel_time_t, as needed for sparc.
644 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
645 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
646 (__sanitizer): Define struct___old_kernel_stat_sz,
647 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
648 (__sanitizer_ipc_perm): Adjust for sparc targets.
649 (__sanitizer_shmid_ds): Likewsie.
650 (__sanitizer_sigaction): Likewise.
651 (IOC_SIZE): Likewsie.
652
6ad0611b
PB
6532015-02-27 Peter Bergner <bergner@vnet.ibm.com>
654
655 * configure.tgt: Enable build on powerpc*le-*-linux.
656
09901e8a 6572015-02-23 Jakub Jelinek <jakub@redhat.com>
86ee2038
JJ
658
659 PR bootstrap/63888
660 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
661 support until it is rewritten upstream.
662
94213c10
MK
6632015-01-26 Matthias Klose <doko@ubuntu.com>
664
665 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
666 * configure: Regenerate.
667
8790f572
VK
6682015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
669
94213c10 670 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine.
8790f572 671 * configure: Regenerate.
94213c10 672 * configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
8790f572 673
b0edd457
VK
6742015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
675
676 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
677 * configure: Regenerate.
678 * tsan/Makefile.am (EXTRA_libtsan_la_SOURCES): Define.
679 (libtsan_la_DEPENDENCIES): Likewise.
680 * Makefile.in: Regenerate.
681 * asan/Makefile.in: Regenerate.
682 * interception/Makefile.in: Regenerate.
683 * libbacktrace/Makefile.in: Regenerate.
684 * lsan/Makefile.in: Regenerate.
685 * sanitizer_common/Makefile.in: Regenerate.
686 * tsan/Makefile.in: Regenerate.
687 * ubsan/Makefile.in: Regenerate.
688
19ac475f
JJ
6892015-01-22 Jakub Jelinek <jakub@redhat.com>
690
691 * tsan/tsan_rtl.h: Cherry pick upstream r226829.
692
8b08ef25
JJ
6932015-01-21 Jakub Jelinek <jakub@redhat.com>
694
695 PR sanitizer/64435
696 * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick
697 upstream r226637.
698 * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
699 * sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639.
700
3ea36418
JJ
7012015-01-20 Jakub Jelinek <jakub@redhat.com>
702
703 PR sanitizer/64632
704 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r224972.
705
9deaf59d
JJ
7062015-01-19 Jakub Jelinek <jakub@redhat.com>
707
708 PR sanitizer/64435
709 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
710 upstream r223925.
711
b6a8bacc
JJ
7122015-01-13 Jakub Jelinek <jakub@redhat.com>
713
714 * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
715 upstream r224518 and r224519.
716 * tsan/tsan_rtl_thread.cc: Cherry pick upstream r224702 and
717 r224834.
718
f2798565
JJ
7192014-12-16 Jakub Jelinek <jakub@redhat.com>
720
721 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
722 sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
723 sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
724 upstream r224308.
725
a699d672
L
7262014-11-21 H.J. Lu <hongjiu.lu@intel.com>
727
728 PR bootstrap/63784
729 * configure: Regenerated.
730
7697b16f
JJ
7312014-11-21 Jakub Jelinek <jakub@redhat.com>
732
733 PR target/61137
734 * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
735 (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
736
7f201a67
UB
7372014-11-14 Uros Bizjak <ubizjak@gmail.com>
738
739 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
740 * asan/Makefile.am (AM_CXXFLAGS): Ditto.
741 * lsan/Makefile.am (AM_CXXFLAGS): Ditto.
742 * interception/Makefile.am (AM_CXXFLAGS): Ditto.
743 * tsan/Makefile.am (AM_CXXFLAGS): Ditto.
744 * libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
745 * ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
746 * sanitizer_common/Makefile.in: Regenerate.
747 * asan/Makefile.in: Ditto.
748 * lsan/Makefile.in: Ditto.
749 * interception/Makefile.in: Ditto.
750 * tsan/Makefile.in: Ditto.
751 * libbacktrace/Makefile.in: Ditto.
752 * ubsan/Makefile.in: Ditto.
753
c5be964a
KS
7542014-11-13 Kostya Serebryany <kcc@google.com>
755
756 * All source files: Merge from upstream r221802.
757 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
758 (LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
759 with 'start' to follow the new interface.
760 * asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
761 * interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
762 * libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
763 * lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
764 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
765 files.
766 (AM_CXXFLAGS): Added -std=c++11.
767 * tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
768 * ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
769 * asan/Makefile.in: Regenerate.
770 * interception/Makefile.in: Regenerate.
771 * libbacktrace/Makefile.in: Regenerate.
772 * lsan/Makefile.in: Regenerate.
773 * sanitizer_common/Makefile.in: Regenerate.
774 * tsan/Makefile.in: Regenerate.
775 * ubsan/Makefile.in: Regenerate.
776
ebf6d33b
FXC
7772014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
778
779 PR target/63610
780 * configure: Regenerate.
781
d13fc1ed
ML
7822014-10-16 Martin Liska <mliska@suse.cz>
783
784 * asan/Makefile.am: IPA ICF pass is disabled.
785 * asan/Makefile.in: Likewise.
786
c8473336
DM
7872014-10-14 David S. Miller <davem@davemloft.net>
788
789 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
790 Define at __kernel_time_t, as needed for sparc.
791 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
792 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
793 (__sanitizer): Define struct___old_kernel_stat_sz,
794 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
795 (__sanitizer_ipc_perm): Adjust for sparc targets.
796 (__sanitizer_shmid_ds): Likewsie.
797 (__sanitizer_sigaction): Likewsie.
798 (IOC_SIZE): Likewsie.
799
694b4cfa
JJ
8002014-10-14 Jakub Jelinek <jakub@redhat.com>
801
802 * ubsan/Makefile.am (DEFS): Add -DPIC.
803 * ubsan/Makefile.in: Regenerated.
804
a3125fc2
CL
8052014-09-26 Christophe Lyon <christophe.lyon@linaro.org>
806
807 * configure.tgt: Enable build on aarch64*-linux.
808
866e32ad
KS
8092014-09-19 Kostya Serebryany <kcc@google.com>
810
811 * All source files: Merge from upstream r218156.
812 * asan/Makefile.am (asan_files): Added new files.
813 * asan/Makefile.in: Regenerate.
814 * ubsan/Makefile.am (ubsan_files): Added new files.
815 * ubsan/Makefile.in: Regenerate.
816 * tsan/Makefile.am (tsan_files): Added new files.
817 * tsan/Makefile.in: Regenerate.
818 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
819 files.
820 * sanitizer_common/Makefile.in: Regenerate.
821 * asan/libtool-version: Bump the libasan SONAME.
822
126edc3f
JJ
8232014-09-10 Jakub Jelinek <jakub@redhat.com>
824
825 * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
826 upstream r215485, r217389, r217391 and r217400.
827
0d807c80
PC
8282014-06-23 Paolo Carlini <paolo.carlini@oracle.com>
829
830 * sanitizer_common/sanitizer_common_interceptors.inc:
831 Cherry pick upstream r211008.
832
4622301b
RB
8332014-06-11 Richard Biener <rguenther@suse.de>
834
835 * asan/asan_linux.cc: Cherry pick upstream r210012.
836
ecd5543f
JJ
8372014-05-30 Jakub Jelinek <jakub@redhat.com>
838
839 * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
840 r209879.
841 * sanitizer_common/sanitizer_common.h: Likewise.
842 * asan/asan_mapping.h: Likewise.
843 * asan/asan_linux.cc: Likewise.
844 * tsan/tsan_mman.cc: Cherry pick upstream r209744.
845 * sanitizer_common/sanitizer_allocator.h: Likewise.
846
85a16bf8
MP
8472014-05-23 Marek Polacek <polacek@redhat.com>
848
849 * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
850 floating-point types.
851
dee5ea7a
KS
8522014-05-22 Kostya Serebryany <kcc@google.com>
853
854 * All source files: Merge from upstream r209283.
855 * asan/Makefile.am (asan_files): Added new files.
856 * asan/Makefile.in: Regenerate.
857 * tsan/Makefile.am (tsan_files): Added new files.
858 * tsan/Makefile.in: Regenerate.
0d807c80
PC
859 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
860 files.
dee5ea7a
KS
861 * sanitizer_common/Makefile.in: Regenerate.
862
2675305b
YG
8632014-05-14 Yury Gribov <y.gribov@samsung.com>
864
865 PR sanitizer/61100
866 * Makefile.am (nodist_saninclude_HEADERS): Install
867 public headers.
868 * Makefile.in: Regenerate.
869
a6c9ab4e
RO
8702014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
871
872 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
873 Add ../../libbacktrace/sort.c.
874 * libbacktrace/Makefile.in: Regenerate.
875 * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
876
a42a7046
BS
8772014-03-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
878
879 * configure.tgt: Unsupported for little endian PowerPC for now.
880
5ab39ec3
JJ
8812014-02-04 Jakub Jelinek <jakub@redhat.com>
882
81c87471
JJ
883 PR sanitizer/60055
884 * tsan/tsan_flags.cc (__tsan_default_options): Add
885 SANITIZER_INTERFACE_ATTRIBUTE. Backport from upstream r200747.
886 * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
887
5ab39ec3
JJ
888 PR sanitizer/60038
889 * sanitizer_common/sanitizer_linux_libcdep.cc: Include
890 sanitizer_atomic.h and unistd.h.
891 (kThreadDescriptorSize): Made static, remove initializer and const,
892 change type to atomic_uintptr_t.
893 (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
894 query glibc version, compute kThreadDescriptorSize depending on
895 glibc version minor number.
896 (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
897 kThreadDescriptorSize directly.
898
4a7eaf5f
YG
8992014-01-23 Yury Gribov <y.gribov@samsung.com>
900 Jakub Jelinek <jakub@redhat.com>
901
902 PR sanitizer/57316
903 * configure.ac: Check for missing syscalls.
904 * Makefile.am: Likewise.
905 * configure: Regenerate.
906 * Makefile.in: Regenerate.
907
2613419a
JJ
9082014-01-09 Jakub Jelinek <jakub@redhat.com>
909
b5f58ba3
JJ
910 * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
911 (LibbacktraceSymbolizer::Demangle): New declaration.
912 * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
913 (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
914 method if possible.
915 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
916 "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
917 (struct CplusV3DemangleData): New type.
918 (CplusV3DemangleCallback, CplusV3Demangle): New functions.
919 (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
920 SymbolizeDataCallback): Use CplusV3Demangle.
921 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
922 -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
923 * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
924 cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
925 cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
926 cplus_demangle_init_info, cplus_demangle_mangled_name,
927 cplus_demangle_operators, cplus_demangle_print,
928 cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
929 cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
930 is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
931 Define.
932 (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
933 (memcmp, strncmp): Redefine.
934 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
935 ../../libiberty/cp-demangle.c.
936 * libbacktrace/bridge.cc (__asan_internal_memcmp,
937 __asan_internal_strncmp): New functions.
938 * sanitizer_common/Makefile.in: Regenerated.
939 * libbacktrace/Makefile.in: Regenerated.
940 * configure: Regenerated.
941 * configure.ac: Regenerated.
942 * config.h.in: Regenerated.
943
2613419a
JJ
944 * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
945 -isystem $(top_srcdir)/include/system.
946 * sanitizer_common/Makefile.in: Regenerated.
947 * include/system/linux/aio_abi.h: New header.
948 * include/system/linux/mroute.h: New header.
949 * include/system/linux/mroute6.h: New header.
950 * include/system/linux/perf_event.h: New header.
951 * include/system/linux/types.h: New header.
c915a581
JJ
952
953 PR sanitizer/59136
954 * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
955 LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
956 and -I/-include flags.
957 * lsan/Makefile.am (liblsan_la_LIBADD): Add
958 libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
959 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
960 * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
961 * asan/Makefile.am (libasan_la_LIBADD): Likewise.
962 * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
963 libbacktrace.
964 * README.gcc: Document that also lsan and ubsan are
965 maintained in compiler-rt upstream.
966 * libbacktrace/Makefile.am: New file.
967 * libbacktrace/backtrace-rename.h: New file.
968 * libbacktrace/backtrace-supported.h.in: New file.
969 * libbacktrace/bridge.cc: New file.
970 * configure.ac: Add tests needed for libbacktrace build
971 within libsanitizer.
972 * sanitizer_common/Makefile.in: Regenerated.
973 * lsan/Makefile.in: Regenerated.
974 * tsan/Makefile.in: Regenerated.
975 * ubsan/Makefile.in: Regenerated.
976 * libbacktrace/Makefile.in: Generated.
977 * config.h.in: Regenerated.
978 * configure: Regenerated.
979 * Makefile.in: Regenerated.
980 * interception/Makefile.in: Regenerated.
981 * asan/Makefile.in: Regenerated.
982 * aclocal.m4: Regenerated.
983
409f3b46
KS
9842013-12-19 Kostya Serebryany <kcc@google.com>
985
986 * sanitizer_common/sanitizer_platform_limits_posix.cc:
987 workaround for missing definition of EOWNERDEAD, backport
988 from upstream r196779.
989
079db27b
L
9902013-12-06 H.J. Lu <hongjiu.lu@intel.com>
991
992 * sanitizer_common/sanitizer_platform_limits_posix.h
993 (__sanitizer_shmid_ds): Use u64 on time fields for x32.
994 (__sanitizer_clock_t): Use long long for x32.
995
7efb96c0
L
9962013-12-06 H.J. Lu <hongjiu.lu@intel.com>
997
998 * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
999 <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
1000 (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
1001
df9d1700
L
10022013-12-05 H.J. Lu <hongjiu.lu@intel.com>
1003
1004 * configure.ac (link_sanitizer_common): Add -lm.
1005 * configure: Regenerated.
1006
c4c16f74
KS
10072013-12-05 Kostya Serebryany <kcc@google.com>
1008
1009 * All source files: Merge from upstream r196489.
1010 * merge.sh: Add *.S to the list of merged files.
1011
666ee4d6
YG
10122013-12-05 Yury Gribov <y.gribov@samsung.com>
1013
1014 PR sanitizer/59368
1015 * Makefile.am (gcc_version): Added gcc_version.
1016 * Makefile.in: Regenerate.
1017
df77f0e4
KS
10182013-12-05 Kostya Serebryany <kcc@google.com>
1019
1020 * All source files: Merge from upstream r196090.
1021 * tsan/Makefile.am (tsan_files): Added new files.
1022 * tsan/Makefile.in: Regenerate.
1023 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
1024 * sanitizer_common/Makefile.in: Regenerate.
1025 * lsan/Makefile.am (lsan_files): Added new files.
1026 * lsan/Makefile.in: Regenerate.
1027
35814b03
JJ
10282013-11-29 Jakub Jelinek <jakub@redhat.com>
1029 Yury Gribov <y.gribov@samsung.com>
1030
1031 PR sanitizer/59063
1032 * libsanitizer.spec.in: Add spec file to hold link flags for
1033 various sanitizer libs.
1034 * configure.ac: Check whether clock_* routines come from librt.
1035 * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
1036 configure.ac.
1037 * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
1038 * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
1039 * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
1040 * asan/Makefile.in: Regenerate.
1041 * interception/Makefile.in: Regenerate.
1042 * lsan/Makefile.in: Regenerate.
1043 * sanitizer_common/Makefile.in: Regenerate.
1044 * tsan/Makefile.in: Regenerate.
1045 * ubsan/Makefile.in: Regenerate.
1046 * Makefile.in: Regenerate.
1047 * configure: Regenerate.
1048
049558ed
JJ
10492013-11-28 Jakub Jelinek <jakub@redhat.com>
1050 Yury Gribov <y.gribov@samsung.com>
1051
1052 PR sanitizer/59106
1053 * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
1054 don't need it.
1055 * ubsan/Makefile.in: Regenerated.
1056
9065ada9
JJ
10572013-11-22 Jakub Jelinek <jakub@redhat.com>
1058
1059 PR sanitizer/59061
1060 * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
1061 * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
1062 * configure: Regenerated.
1063 * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
1064 liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
1065 * lsan/Makefile.in: Regenerated.
1066
486294d4
MS
10672013-11-22 Mike Stump <mikestump@comcast.net>
1068
1069 * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
1070 change from upstream to fix build.
1071
2621c860
YG
10722013-11-18 Yury Gribov <y.gribov@samsung.com>
1073
1074 PR sanitizer/59106
1075 * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
1076 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
1077 * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
1078 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
1079 * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
1080 * asan/Makefile.in: Regenerate.
1081 * interception/Makefile.in: Regenerate.
1082 * tsan/Makefile.in: Regenerate.
1083 * lsan/Makefile.in: Regenerate.
1084 * sanitizer_common/Makefile.in: Regenerate.
1085
c8e1377b
KS
10862013-11-15 Kostya Serebryany <kcc@google.com>
1087
1088 PR sanitizer/58994
1089 Backport from upstream revision 194573
1090 * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
1091 back to the original functions in the common libsanitizer
1092 interceptors and the __cxa_atexit() interceptor on Darwin.
1093
c3d77f3a
PB
10942013-11-13 Peter Bergner <bergner@vnet.ibm.com>
1095
1096 PR sanitizer/59009
1097 * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
1098 ifdef out more source.
1099
d00106f4
JJ
11002013-11-12 Jakub Jelinek <jakub@redhat.com>
1101
1102 * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
1103 ifdef out almost the whole source.
1104 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
1105
e276866f
L
11062013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1107
1108 PR sanitizer/59018
1109 * sanitizer_common/sanitizer_platform_limits_posix.cc
1110 (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
1111 defined.
1112
f5c36cfc
L
11132013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1114
1115 PR sanitizer/59018
1116 * sanitizer_common/sanitizer_platform_limits_linux.cc
1117 (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
1118 defined.
1119 * sanitizer_common/sanitizer_platform_limits_posix.h
1120 (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
1121 defined.
1122 (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
1123 is defined.
1124 (__sanitizer___kernel_gid_t): Likewise.
1125 (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
1126 is defined.
1127
e45de14e
L
11282013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1129
1130 PR sanitizer/59018
1131 * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
1132 2 64-bit integers to save and restore fn and arg. Properly load
1133 newtls/child_tidptr into r8/r10.
1134
38693e39
L
11352013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1136
1137 PR sanitizer/59018
1138 * sanitizer_common/sanitizer_linux.cc (internal_mmap,
1139 internal_munmap, internal_open, internal_read, internal_write,
1140 internal_stat, internal_lstat, internal_fstat, internal_readlink,
1141 internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
1142 BlockingMutex::Unlock, internal_ptrace, internal_getdents,
1143 internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
1144
ef1b3fda
KS
11452013-11-04 Kostya Serebryany <kcc@google.com>
1146
1147 * All source files: Merge from upstream r191666.
1148 * merge.sh: Added lsan.
1149 * configure.ac (AC_CONFIG_FILES): Added lsan.
1150 * Makefile.am (SUBDIRS): Added lsan.
1151 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
1152 * asan/Makefile.am (asan_files): Added new files.
1153 (libasan_la_LIBADD): Added a dependency on lsan.
1154 * lsan/Makefile.am: New file.
1155 * asan/Makefile.in: Regenerate.
1156 * lsan/Makefile.in: Regenerate.
1157 * Makefile.in: Regenerate.
1158 * configure: Regenerate.
1159 * sanitizer_common/Makefile.in: Regenerate.
1160
3cbe17f7
AM
11612013-09-20 Alan Modra <amodra@gmail.com>
1162
1163 * configure: Regenerate.
1164
0cea211e
IS
11652013-09-01 Iain Sandoe <iain@codesourcery.com>
1166
1167 * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
1168 libinterception.la for Darwin.
1169 * ubsan/Makefile.in: Regenerate.
1170
de5a5fa1
MP
11712013-08-30 Jakub Jelinek <jakub@redhat.com>
1172
1173 * Makefile.am (SUBDIRS): Add ubsan.
1174 * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
1175 * merge.sh: Merge ubsan.
1176 * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
1177 * sanitizer_common/sanitizer_printf.cc: Likewise.
1178 * sanitizer_common/sanitizer_common.h: Likewise.
1179 * ubsan: New directory. Import ubsan runtime from llvm.
1180
634cfa2b
CL
11812013-06-03 Christophe Lyon <christophe.lyon@linaro.org>
1182
1183 * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
1184 Cherry pick upstream r182922.
1185
8a5800b8
CL
11862013-05-07 Christophe Lyon <christophe.lyon@linaro.org>
1187
1188 * configure.tgt: Add ARM pattern.
1189
a745e444 11902013-03-22 Jakub Jelinek <jakub@redhat.com>
1868beee
JJ
1191
1192 PR other/43620
1193 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
1194 * Makefile.in: Regenerated.
1195 * asan/Makefile.in: Regenerated.
1196 * interception/Makefile.in: Regenerated.
1197 * sanitizer_common/Makefile.in: Regenerated.
1198 * tsan/Makefile.in: Regenerated.
1199
4c376126
JJ
12002013-02-28 Jakub Jelinek <jakub@redhat.com>
1201
1202 * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
1203 * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
1204 0x4fffffffffULL.
1205
7d613735
JJ
12062013-02-22 Jakub Jelinek <jakub@redhat.com>
1207
1208 PR sanitizer/56393
1209 * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
1210 libasan_preinit.o.
1211 (libasan_preinit.o): Depend on asan_preinit.o.
1212 * asan/Makefile.in: Regenerated.
1213 * asan/asan_preinit.cc: New file, synced from upstream.
1214 * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
1215
ecdbd01a 12162013-02-21 Jack Howarth <howarth@bromo.med.uc.edu>
304886c5
JH
1217
1218 * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
1219 dynamic/asan_interceptors_dynamic.cc.
1220 * asan/Makefile.in: Regenerated.
1221 * merge.sh: Remove merge of deprecated lib/asan/dynamic.
1222
4be7da26
JJ
12232013-02-21 Jakub Jelinek <jakub@redhat.com>
1224
1225 * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
1226 defined. Add used attribute.
1227
7df59255
KS
12282013-02-21 Kostya Serebryany <kcc@google.com>
1229
1230 * All source files: Merge from upstream r175733.
1231 * sanitizer_common/Makefile.am: Added a new file.
1232 * sanitizer_common/Makefile.in: Regenerated.
1233
8afd2ed7
L
12342013-02-14 H.J. Lu <hongjiu.lu@intel.com>
1235
1236 PR bootstrap/56327
1237 * interception/interception.h (OFF_T): Merged from upstream
1238 r175140.
1239
6422242b
JJ
12402013-02-13 Jakub Jelinek <jakub@redhat.com>
1241
1242 * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
1243
b4ab7d34
KS
12442013-02-13 Kostya Serebryany <kcc@google.com>
1245
8afd2ed7 1246 PR sanitizer/56128
b4ab7d34
KS
1247 * All source files: Merge from upstream r175049.
1248 * interception/Makefile.am: added include path.
1249 * interception/Makefile.in: Regenerated.
1250
34dc17ed
JH
12512013-02-11 Jack Howarth <howarth@bromo.med.uc.edu>
1252
1253 * configure.tgt: Disable build on darwin9 and earlier.
1254
2660d12d
KS
12552013-01-23 Kostya Serebryany <kcc@google.com>
1256
8afd2ed7 1257 PR sanitizer/55989
2660d12d
KS
1258 * All source files: Merge from upstream r173241.
1259 * merge.sh: Support merging .inc files.
1260
19006c45
JJ
12612013-01-16 Jakub Jelinek <jakub@redhat.com>
1262
1263 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
1264 -Wno-c99-extensions.
1265 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
1266 * asan/Makefile.am (AM_CXXFLAGS): Likewise.
1267 * sanitizer_common/Makefile.in: Regenerated.
1268 * interception/Makefile.in: Regenerated.
1269 * asan/Makefile.in: Regenerated.
1270
edadb734
WM
12712013-01-10 Wei Mi <wmi@google.com>
1272
1273 PR sanitizer/55488
1274 * tsan/Makefile.am: Add tsan_rtl_amd64.S.
1275 * tsan/Makefile.in: Regenerated.
1276 * tsan/tsan_rtl.h: Enable HACKY_CALL.
1277
e9772e16
KS
12782013-01-10 Kostya Serebryany <kcc@google.com>
1279
1280 * All source files: Merge from upstream r171973.
1281 * sanitizer_common/Makefile.am: Added new files.
1282 * asan/Makefile.am: Likewise.
1283 * tsan/Makefile.am: Likewise.
1284 * sanitizer_common/Makefile.in: Regenerated.
1285 * asan/Makefile.in: Likewise.
1286 * tsan/Makefile.in: Likewise.
1287
7f7162cf
L
12882013-01-07 H.J. Lu <hongjiu.lu@intel.com>
1289
1290 * asan/Makefile.am (libasan_la_LIBADD): Replace
1291 LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
1292 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1293 * Makefile.in: Regenerated.
1294 * configure: Likewise.
1295 * asan/Makefile.in: Likewise.
1296 * interception/Makefile.in: Likewise.
1297 * sanitizer_common/Makefile.in: Likewise.
1298 * tsan/Makefile.in: Likewise.
1299
b488a2c7
L
13002012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1301
1302 * Makefile.am (AM_MAKEFLAGS): Restored.
1303 * interception/Makefile.am: Likewise.
1304 * sanitizer_common/Makefile.am: Likewise.
1305 * tsan/Makefile.am: Likewise.
1306 * Makefile.in: Regenerated.
1307 * asan/Makefile.in: Likewise.
1308 * interception/Makefile.in: Likewise.
1309 * sanitizer_common/Makefile.in: Likewise.
1310 * tsan/Makefile.in: Likewise.
1311
e8adb21b
L
13122012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1313
1314 * Makefile.am (MAKEOVERRIDES): Restored.
1315 * asan/Makefile.am: Likewise.
1316 * interception/Makefile.am: Likewise.
1317 * sanitizer_common/Makefile.am: Likewise.
1318 * tsan/Makefile.am: Likewise.
1319 * Makefile.in: Regenerated.
1320 * asan/Makefile.in: Likewise.
1321 * interception/Makefile.in: Likewise.
1322 * sanitizer_common/Makefile.in: Likewise.
1323 * tsan/Makefile.in: Likewise.
1324
e1e953d9
L
13252012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1326
1327 * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
1328 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1329 * Makefile.in: Regenerated.
1330 * configure: Likewise.
1331 * asan/Makefile.in: Likewise.
1332 * interception/Makefile.in: Likewise.
1333 * sanitizer_common/Makefile.in: Likewise.
1334 * tsan/Makefile.in: Likewise.
1335
a62d3903
L
13362012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1337
1338 * Makefile.am (AM_MAKEFLAGS): Removed.
1339 (MAKEOVERRIDES): Likewise.
1340 * asan/Makefile.am: Likewise.
1341 * interception/Makefile.am: Likewise.
1342 * sanitizer_common/Makefile.am: Likewise.
1343 * tsan/Makefile.am: Likewise.
1344 * Makefile.in: Regenerated.
1345 * asan/Makefile.in: Likewise.
1346 * interception/Makefile.in: Likewise.
1347 * sanitizer_common/Makefile.in: Likewise.
1348 * tsan/Makefile.in: Likewise.
1349
d10a2df2
L
13502012-12-11 H.J. Lu <hongjiu.lu@intel.com>
1351
1352 PR sanitizer/55533
1353 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
1354 * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
1355 * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
1356 (AM_MAKEFLAGS): Remove CC and CXX.
1357 * interception/Makefile.am: Likewise.
1358 * sanitizer_common/Makefile.am: Likewise.
1359 * tsan/Makefile.am: Likewise.
1360 * Makefile.in: Regenerated.
1361 * aclocal.m4: Likewise.
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
957fee09
PB
13682012-12-06 Peter Bergner <bergner@vnet.ibm.com>
1369
1370 * configure.tgt: Enable build on powerpc*-linux.
1371
ecdbd01a 13722012-12-06 Jack Howarth <howarth@bromo.med.uc.edu>
3157880f
JH
1373
1374 PR 55599/sanitizer
d10a2df2
L
1375 * configure.ac: Set enable_static=no on darwin.
1376 * configure: Regenerated.
3157880f 1377
695edbac
KS
13782012-12-06 Kostya Serebryany <kcc@google.com>
1379
1380 * All files: Merge from upstream r169392.
1381
a0408454
KS
13822012-12-05 Kostya Serebryany <kcc@google.com>
1383
1384 * All files: Merge from upstream r169371.
1385
41d37c56 13862012-12-04 Kostya Serebryany <kcc@google.com>
ecdbd01a 1387 Jack Howarth <howarth@bromo.med.uc.edu>
8c4d267c
KS
1388
1389 PR 55521/sanitizer
1390 * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
1391 * Makefile.am: Don't build interception subdir when
1392 USING_MAC_INTERPOSE defined.
1393 * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
1394 -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
1395 Compile asan_interceptors_dynamic.cc but not libinterception
1396 when USING_MAC_INTERPOSE defined.
1397 * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
1398 * configure: Regenerated.
1399 * Makefile.in: Likewise.
1400 * asan/Makefile.in: Likewise.
1401 * interception/Makefile.in: Likewise.
1402 * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
1403 * asan/asan_mac.cc: Likewise.
1404 * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
1405 and use MISSING_BLOCKS_SUPPORT.
1406 * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
1407 * interception/mach_override/LICENSE.txt: Remove unused file.
1408 * interception/mach_override/mach_override.c: Likewise.
1409 * interception/mach_override/mach_override.h: Likewise.
1410 * interception/mach_override: Remove unused directory.
1411
a23ed040
L
14122012-11-28 H.J. Lu <hongjiu.lu@intel.com>
1413
1414 * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
1415 * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
1416 * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
1417 files.
1418 (AM_MAKEFLAGS): Restore CC and CXX.
1419 * interception/Makefile.am: Likewise.
1420 * sanitizer_common/Makefile.am: Likewise.
1421 * tsan/Makefile.am: Likewise.
1422 * Makefile.in: Regenerated.
1423 * aclocal.m4: Likewise.
1424 * configure: Likewise.
1425 * asan/Makefile.in: Likewise.
1426 * interception/Makefile.in: Likewise.
1427 * sanitizer_common/Makefile.in: Likewise.
1428 * tsan/Makefile.in: Likewise.
1429
2ed685b8
L
14302012-11-28 H.J. Lu <hongjiu.lu@intel.com>
1431
1432 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
1433 * configure.ac (ACX_NONCANONICAL_TARGET): New.
1434 * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
1435 files.
1436 (AM_MAKEFLAGS): Remove CC and CXX.
1437 * interception/Makefile.am: Likewise.
1438 * sanitizer_common/Makefile.am: Likewise.
1439 * tsan/Makefile.am: Likewise.
1440 * Makefile.in: Regenerated.
1441 * aclocal.m4: Likewise.
1442 * configure: Likewise.
1443 * asan/Makefile.in: Likewise.
1444 * interception/Makefile.in: Likewise.
1445 * sanitizer_common/Makefile.in: Likewise.
1446 * tsan/Makefile.in: Likewise.
1447
4ba5ca46
KS
14482012-11-27 Kostya Serebryany <kcc@google.com>
1449
1450 * All files: Merge from upstream r168699.
1451
41d37c56 14522012-11-24 Kostya Serebryany <kcc@google.com>
ecdbd01a 1453 Jack Howarth <howarth@bromo.med.uc.edu>
f246eadc
JH
1454
1455 * interception/mach_override/mach_override.c: Migrate from llvm.
1456 * interception/mach_override/mach_override.h: Likewise.
1457 * interception/mach_override/LICENSE.txt: Likewise.
1458 * configure.tgt: Add darwin to supported targets.
1459 * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
1460 * interception/Makefile.am: Compile mach_override.c when
1461 USING_MACH_OVERRIDE defined.
1462 * configure: Regenerated.
1463 * interception/Makefile.in: Likewise.
1464
9cb5411c
L
14652012-11-23 H.J. Lu <hongjiu.lu@intel.com>
1466
1467 PR sanitizer/55450
1468 * tsan/Makefile.am (gcc_version): New.
1469 * tsan/Makefile.in: Regenerated.
1470
3409d40e 14712012-11-23 Kostya Serebryany <kcc@google.com>
9cb5411c 1472
e297eb60
KS
1473 * merge.sh: Support tsan, support added/removed files.
1474 * tsan/Makefile.am: Remove tsan_printf.cc.
1475 * tsan/Makefile.in: Regenerated.
1476 * other files: Merge from upstream r168514.
1477
14782012-11-23 Kostya Serebryany <kcc@google.com>
9cb5411c 1479
e297eb60 1480 * merge.sh: New file.
3409d40e 1481
64548f3b
JJ
14822012-11-23 Jakub Jelinek <jakub@redhat.com>
1483
1484 * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
1485 * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
1486 automake conditional instead of !MULTISUBDIR32.
1487 * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
1488 for 64-bit multilib.
1489 * configure.ac: Check for void * size, source in configure.tgt,
1490 define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
1491 * configure: Regenerated.
1492 * Makefile.in: Regenerated.
1493 * tsan/Makefile.in: Regenerated.
1494
cd0be65c
WM
14952012-11-22 Wei Mi <wmi@google.com>
1496
1497 * tsan: New directory. Import tsan runtime from llvm.
1498 * configure.ac: Add 64 bits tsan build.
1499 * Makefile.am: Likewise.
1500 * configure: Regenerated.
1501 * Makefile.in: Likewise.
1502
5cba83a8
KS
15032012-11-21 Kostya Serebryany <kcc@google.com>
1504
9cb5411c 1505 * README.gcc: Extend the README.gcc with mode details.
5cba83a8 1506
b014e124
KS
15072012-11-20 Konstantin Serebryany <konstantin.s.serebryany@gmail.com>
1508
1509 * sanitizer_common/sanitizer_linux.cc
1510 (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
1511 (internal_mmap): Use it.
1512 (internal_filesize): Likewise.
1513
2b723e21
TT
15142012-11-16 Tom Tromey <tromey@redhat.com>
1515
1516 * configure.ac: Invoke AM_MAINTAINER_MODE.
1517 * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
1518 interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
1519
d1caed14
L
15202012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1521
1522 PR other/55333
1523 * include/sanitizer/common_interface_defs.h (uhwptr): New type
1524 for hardware pointer.
1525 * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
1526 Replace uptr with uhwptr for stack unwind.
1527
f3754998
DS
15282012-11-16 Dodji Seketeli <dodji@redhat.com>
1529
1530 * configure.tgt: Enable build on sparc linux.
1531
f64bcb29
L
15322012-11-15 H.J. Lu <hongjiu.lu@intel.com>
1533
1534 * configure.ac: Properly set MULTISUBDIR.
1535 * asan/Makefile.am (gcc_version): New.
1536 * interception/Makefile.am (gcc_version): Likewise.
1537 * sanitizer_common/Makefile.am (gcc_version): Likewise.
1538 * configure: Regenerated.
1539 * asan/Makefile.in: Likewise.
1540 * interception/Makefile.in: Likewise.
1541 * sanitizer_common/Makefile.in: Likewise.
1542
2a6346c4
L
15432012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1544
1545 PR other/55291
1546 * configure.ac (--enable-version-specific-runtime-libs): New option.
1547 (AC_CANONICAL_SYSTEM): New.
1548 (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
1549 (toolexecdir): Support multilib.
1550 (toolexeclibdir): Likewise.
1551 (multilib_arg): New.
1552 * Makefile.in: Regenerated.
1553 * aclocal.m4: Likewise.
1554 * configure: Likewise.
1555 * asan/Makefile.in: Likewise.
1556 * interception/Makefile.in: Likewise.
1557 * sanitizer_common/Makefile.in: Likewise.
1558
4a56a7be
L
15592012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1560
1561 PR other/55292
1562 Backport from upstream revision 167883
1563 * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
1564 __x86_64__ instead of __WORDSIZE.
1565 (internal_filesize): Likwise.
1566
4053ca2c
L
15672012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1568
1569 * configure.ac (AC_CONFIG_AUX_DIR): Removed.
1570 * Makefile.in: Regenerated.
1571 * configure: Likewise.
1572
a2479b3d
L
15732012-11-13 H.J. Lu <hongjiu.lu@intel.com>
1574
1575 PR other/55304
1576 * acinclude.m4: New file.
1577 * Makefile.am (ACLOCAL_AMFLAGS): New.
1578 * configure.ac (AC_PREREQ): Set to 2.64.
1579 (AC_CONFIG_AUX_DIR): Set to "..".
1580 * Makefile.in: Regenerated.
1581 * aclocal.m4: Likewise.
1582 * configure: Likewise.
1583 * asan/Makefile.in: Likewise.
1584 * interception/Makefile.in: Likewise.
1585 * sanitizer_common/Makefile.in: Likewise.
1586
1587 * config.guess: Removed.
1588 * config.sub: Likewise.
1589 * depcomp: Likewise.
1590 * install-sh: Likewise.
1591 * ltmain.sh: Likewise.
1592 * missing: Likewise.
1593
93bf5390
RH
15942012-11-13 Richard Henderson <rth@redhat.com>
1595
1596 * configure.tgt: New file.
1597
d2860e72
DM
15982012-11-12 David S. Miller <davem@davemloft.net>
1599
1600 * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
1601
f35db108
WM
16022012-10-29 Wei Mi <wmi@google.com>
1603
1604 Initial checkin: migrate asan runtime from llvm.