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