]> git.ipfire.org Git - thirdparty/gcc.git/blame - libsanitizer/ChangeLog
Don't build insn-extract.o with rtl checking
[thirdparty/gcc.git] / libsanitizer / ChangeLog
CommitLineData
6e1edf48
GA
12020-12-05 Iain Sandoe <iain@sandoe.co.uk>
2
3 PR target/97865
4 * configure.tgt: Add dynamic_lookup to EXTRA_CXXFLAGS for
5 Darwin.
6 * configure: Regenerate.
7
a9625c50
GA
82020-11-29 John David Anglin <danglin@gcc.gnu.org>
9
10 * configure: Regenerate.
11
360258da
GA
122020-11-25 Matthew Malcomson <matthew.malcomson@arm.com>
13
14 * LOCAL_PATCHES: Add one commit.
15
162020-11-25 Matthew Malcomson <matthew.malcomson@arm.com>
17
18 * Makefile.am: Condition Build hwasan directory.
19 * Makefile.in: Regenerate.
20 * configure: Regenerate.
21 * configure.ac: Set HWASAN_SUPPORTED based on target
22 architecture.
23 * configure.tgt: Likewise.
24
252020-11-25 Matthew Malcomson <matthew.malcomson@arm.com>
26
27 * Makefile.am: Build libhwasan.
28 * Makefile.in: Build libhwasan.
29 * asan/Makefile.in: Build libhwasan.
30 * configure: Build libhwasan.
31 * configure.ac: Build libhwasan.
32 * hwasan/Makefile.am: New file.
33 * hwasan/Makefile.in: New file.
34 * hwasan/libtool-version: New file.
35 * interception/Makefile.in: Build libhwasan.
36 * libbacktrace/Makefile.in: Build libhwasan.
37 * libsanitizer.spec.in: Build libhwasan.
38 * lsan/Makefile.in: Build libhwasan.
39 * sanitizer_common/Makefile.in: Build libhwasan.
40 * tsan/Makefile.in: Build libhwasan.
41 * ubsan/Makefile.in: Build libhwasan.
42
7a97e2fc
GA
432020-11-21 Iain Sandoe <iain@sandoe.co.uk>
44
45 * configure.tgt: Allow x86_64 Darwin2x.
46
77f67db2
GA
472020-11-13 Martin Liska <mliska@suse.cz>
48
49 * LOCAL_PATCHES: Update to the latest commit.
50
970d683f
GA
512020-10-19 Martin Liska <mliska@suse.cz>
52
53 * LOCAL_PATCHES: Add one commit.
54
3acb91a4
GA
552020-10-18 Iain Sandoe <iain@sandoe.co.uk>
56
57 * sanitizer_common/sanitizer_mac.h: Ensure that TARGET_OS_
58 macros are defined where the macOS SDK does not contain
59 them.
60 (TARGET_OS_OSX, TARGET_OS_IOS, TARGET_OS_TV, TARGET_OS_WATCH):
61 Define where needed.
62
56e4eee9
GA
632020-10-16 Martin Liska <mliska@suse.cz>
64
65 * LOCAL_PATCHES: Update revision.
66
44135373
GA
672020-09-21 Ian Lance Taylor <iant@golang.org>
68
69 * libbacktrace/backtrace-rename.h (backtrace_uncompress_lzma):
70 Define.
71 (backtrace_syminfo_to_full_callback): Define.
72 (backtrace_syminfo_to_full_error_callback): Define.
73
96686b3f
GA
742020-07-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
75
76 * sanitizer_common/sanitizer_linux.cpp: Cherry-pick llvm-project
77 revision f0e9b76c3500496f8f3ea7abe6f4bf801e3b41e7.
78
b952c2cf
GA
792020-06-09 Martin Liska <mliska@suse.cz>
80
81 * asan/Makefile.am: Replace gnu++11 with gnu++14.
82 * interception/Makefile.am: Likewise.
83 * libbacktrace/Makefile.am: Likewise.
84 * lsan/Makefile.am: Likewise.
85 * sanitizer_common/Makefile.am: Likewise.
86 * tsan/Makefile.am: Likewise.
87 * ubsan/Makefile.am: Likewise.
88 * asan/Makefile.in: Regenerate.
89 * interception/Makefile.in: Likewise.
90 * libbacktrace/Makefile.in: Likewise.
91 * lsan/Makefile.in: Likewise.
92 * sanitizer_common/Makefile.in: Likewise.
93 * tsan/Makefile.in: Likewise.
94 * ubsan/Makefile.in: Likewise.
95
a9312a79
GA
962020-06-02 Martin Liska <mliska@suse.cz>
97
98 * LOCAL_PATCHES: Update hash of local patches.
99
1002020-06-02 Martin Liska <mliska@suse.cz>
101
102 * MERGE: Merge from master.
103
885ef72f
GA
1042020-05-29 H.J. Lu <hjl.tools@gmail.com>
105
106 PR bootstrap/95413
107 * configure: Regenerated.
108
1092020-05-29 Martin Liska <mliska@suse.cz>
110
111 * HOWTO_MERGE: Do not mention not existing argument.
112 * README.gcc: Update LLVM repository location.
113
c3a4169b
GA
1142020-05-26 Martin Liska <mliska@suse.cz>
115
116 * LOCAL_PATCHES: Use git hash instead of SVN id.
117 * merge.sh: Use git instead of VCS. Update paths
118 relative to upstream git repository.
119
4c1a5d8b
L
1202020-05-15 H.J. Lu <hongjiu.lu@intel.com>
121
122 PR bootstrap/95147
123 * configure: Regenerated.
124
8d286dd1
L
1252020-05-14 H.J. Lu <hongjiu.lu@intel.com>
126
127 * configure: Regenerated.
128
d730fd95
AT
1292020-05-01 Andreas Tobler <andreast@gcc.gnu.org>
130
131 * configure.tgt: Add x86_64- and i?86-*-freebsd* targets.
bf1dde97
AT
132
1332020-05-01 Andreas Tobler <andreast@gcc.gnu.org>
134
135 * sanitizer_common/Makefile.am: Add
136 sanitizer_platform_limits_freebsd.cpp.
137 * sanitizer_common/Makefile.in: Regenerate.
138
63cc547f
IS
1392020-03-01 Iain Sandoe <iain@sandoe.co.uk>
140
141 PR sanitizer/93731
142 * configure.tgt (x86_64-*-darwin*, i?86-*-darwin*): Enable by
143 default only for Darwin versions greater than 12 (macOS 10.8).
144
e8e66971
MR
1452020-01-24 Maciej W. Rozycki <macro@wdc.com>
146
147 * configure.ac: Handle `--with-toolexeclibdir='.
148 * Makefile.in: Regenerate.
149 * aclocal.m4: Regenerate.
150 * configure: Regenerate.
151 * asan/Makefile.in: Regenerate.
152 * interception/Makefile.in: Regenerate.
153 * libbacktrace/Makefile.in: Regenerate.
154 * lsan/Makefile.in: Regenerate.
155 * sanitizer_common/Makefile.in: Regenerate.
156 * tsan/Makefile.in: Regenerate.
157 * ubsan/Makefile.in: Regenerate.
158
4abc46b5
JJ
1592019-11-26 Jakub Jelinek <jakub@redhat.com>
160
161 PR sanitizer/92154
162 * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry-pick
163 llvm-project revision 947f9692440836dcb8d88b74b69dd379d85974ce.
164 * sanitizer_common/sanitizer_platform_limits_posix.cpp: Likewise.
165
f6fbdc38
ML
1662019-11-20 Martin Liska <mliska@suse.cz>
167
168 * libtool-version: Remove.
169 * lsan/libtool-version: Upate comment to not mention libmudflap.
170 * tsan/libtool-version: Likewise.
171 * ubsan/libtool-version: Likewise.
172
4a96e1c4
AS
1732019-11-13 Andreas Schwab <schwab@suse.de>
174
175 * configure.tgt (riscv64-*-linux*): Enable build.
176
21bb1625
ML
1772019-11-07 Martin Liska <mliska@suse.cz>
178
179 * all source files: Reapply all revisions mentioned in LOCAL_PATCHES.
180
cb7dc4da
ML
1812019-11-07 Martin Liska <mliska@suse.cz>
182
183 * merge.sh: Update to use llvm-project git repository.
184 * all source files: Merge from upstream
185 82588e05cc32bb30807e480abd4e689b0dee132a.
186
1c48938e
ML
1872019-11-05 Martin Liska <mliska@suse.cz>
188
189 * ubsan/ubsan_flags.cpp (InitializeFlags): Trunk decided to print
190 summary for all sanitizers, but we want to have UBSAN without it.
191
acd700fd
ML
1922019-11-05 Martin Liska <mliska@suse.cz>
193
194 * asan/asan_globals.cpp (CheckODRViolationViaIndicator): Reapply from
195 LOCAL_PATCHES.
196 (CheckODRViolationViaPoisoning): Likewise.
197 (RegisterGlobal): Likewise.
198 * asan/asan_interceptors.h (ASAN_INTERCEPT___CXA_RETHROW_PRIMARY_EXCEPTION): Likewise.
199 (defined): Likewise.
200 * asan/asan_mapping.h: Likewise.
201 * sanitizer_common/sanitizer_linux_libcdep.cpp (defined): Likewise.
202 * sanitizer_common/sanitizer_mac.cpp (defined): Likewise.
203 * sanitizer_common/sanitizer_platform_limits_linux.cpp (defined): Likewise.
204 * sanitizer_common/sanitizer_platform_limits_posix.h: Likewise.
205 * sanitizer_common/sanitizer_stacktrace.cpp (GetCanonicFrame): Likewise.
206 * tsan/tsan_rtl_ppc64.S: Likewise.
207 * ubsan/ubsan_handlers.cpp (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
208 (__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
209 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
210 (struct CFICheckFailData): Likewise.
211 (RECOVERABLE): Likewise.
212 * ubsan/ubsan_platform.h: Likewise.
213
617be04a
ML
2142019-11-05 Martin Liska <mliska@suse.cz>
215
216 * tsan/Makefile.am: Rename tsan_interceptors.cpp to
217 tsan_interceptors_posix.
218 * tsan/Makefile.in: Regenerate.
219
3ca75cd5
ML
2202019-11-05 Martin Liska <mliska@suse.cz>
221
222 * all source files: Merge from upstream r375507.
223
761a3a95
TC
2242019-10-22 Tamar Christina <tamar.christina@arm.com>
225
226 PR sanitizer/92154
227 * sanitizer_common/sanitizer_platform_limits_posix.cpp:
228 Cherry-pick compiler-rt revision r375220.
229
e9085da5
MR
2302019-09-27 Maciej W. Rozycki <macro@wdc.com>
231
232 * configure: Regenerate.
233
45d53c67
CL
2342019-09-10 Christophe Lyon <christophe.lyon@st.com>
235 Mickaël Guêné <mickael.guene@st.com>
236
237 * configure.tgt (arm*-*-*fdpiceabi): Sanitizers are
238 unsupported in this configuration.
239
639f51ba
IS
2402019-08-16 Iain Sandoe <iain@sandoe.co.uk>
241
242 * LOCAL_PATCHES: Add r274585.
243
dea853e8
IS
2442019-08-16 Iain Sandoe <iain@sandoe.co.uk>
245
246 * asan/asan_interceptors.h: Reapply r272406.
247
b3595983
ML
2482019-08-15 Martin Liska <mliska@suse.cz>
249
250 * LOCAL_PATCHES: Add r274540
251
71e895b1
ML
2522019-08-15 Martin Liska <mliska@suse.cz>
253
254 * tsan/tsan_rtl_ppc64.S: Reapply.
255
8bc1fac7
IS
2562019-08-15 Iain Sandoe <iain@sandoe.co.uk>
257
258 PR bootstrap/91455
259 * Makefile.in: Regenerated.
260 * aclocal.m4: Likewise.
261 * asan/Makefile.in: Likewise.
262 * configure: Likewise.
263 * interception/Makefile.in: Likewise.
264 * libbacktrace/Makefile.in: Likewise.
265 * lsan/Makefile.in: Likewise.
266 * sanitizer_common/Makefile.am: Include top_srcdir unconditionally.
267 * sanitizer_common/Makefile.in: Regenerated.
268 * tsan/Makefile.in: Likewise.
269 * ubsan/Makefile.in: Likewise.
270
e2723123
ML
2712019-08-14 Martin Liska <mliska@suse.cz>
272
273 * LOCAL_PATCHES: Refresh based on what was committed.
274
47f0255f
ML
2752019-08-14 Martin Liska <mliska@suse.cz>
276
277 * asan/asan_globals.cpp (CheckODRViolationViaIndicator): Reapply
278 patch from trunk.
279 (CheckODRViolationViaPoisoning): Likewise.
280 (RegisterGlobal): Likewise.
281 * asan/asan_mapping.h: Likewise.
282 * sanitizer_common/sanitizer_linux_libcdep.cpp (defined): Likewise.
283 * sanitizer_common/sanitizer_mac.cpp (defined): Likewise.
284 * sanitizer_common/sanitizer_platform_limits_linux.cpp (defined): Likewise.
285 * sanitizer_common/sanitizer_platform_limits_posix.h (defined): Likewise.
286 * sanitizer_common/sanitizer_stacktrace.cpp (GetCanonicFrame): Likewise.
287 * ubsan/ubsan_handlers.cpp (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
288 (__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
289 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
290 (struct CFICheckFailData): Likewise.
291 (RECOVERABLE): Likewise.
292 * ubsan/ubsan_platform.h: Likewise.
293
b667dd70
ML
2942019-08-14 Martin Liska <mliska@suse.cz>
295
296 PR sanitizer/89832
297 PR sanitizer/91325
298 * All source files: Merge from upstream 368656.
299
7cfb7260
RO
3002019-06-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
301
302 * sanitizer_common/sanitizer_posix_libcdep.cc: Cherry-pick
303 compiler-rt revision 363778.
304
9553f0d2
IS
3052019-06-18 Iain Sandoe <iain@sandoe.co.uk>
306
307 PR libsanitizer/87880
308 * asan/asan_interceptors.h:
309 (ASAN_INTERCEPT___CXA_RETHROW_PRIMARY_EXCEPTION): New.
310 * asan/Makefile.am (DEFS): Add
311 ASAN_HAS_CXA_RETHROW_PRIMARY_EXCEPTION, defined to 0.
312 * asan/Makefile.in: Regenerated.
313 * asan/libtool-version: Bump version.
314
7f63a854
SB
3152019-05-27 Segher Boessenkool <segher@kernel.crashing.org>
316
317 PR target/90639
318 * tsan/tsan_rtl_ppc64.S: Add ".machine altivec".
319
ccd1242e
RO
3202019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
321
322 * configure.ac (have_dl_iterate_phdr): Remove *-*-solaris2.10*
323 handling.
324 * configure: Regenerate.
325
b8e214c6
ML
3262019-04-08 Martin Liska <mliska@suse.cz>
327
328 * LOCAL_PATCHES: Add revision.
329
17cf9090
ML
3302019-04-08 Martin Liska <mliska@suse.cz>
331
332 PR sanitizer/89941
333 * sanitizer_common/sanitizer_platform_limits_linux.cc (defined):
334 Reapply patch from r259664.
335 * sanitizer_common/sanitizer_platform_limits_posix.h (defined):
336 Likewise.
337
7a26e273
EB
3382019-03-13 Eric Botcazou <ebotcazou@adacore.com>
339
340 PR sanitizer/80953
341 Merge from LLVM revision 355980
342 * asan/asan_allocator.h (kAllocatorSpace): Define for SPARC.
343 (kAllocatorSize): Likewise.
344 (DefaultSizeClassMap): Likewise.
345 * asan/asan_mapping.h (kSPARC64_ShadowOffset64): Define.
346 (SHADOW_OFFSET): Define for SPARC.
347 Include asan_mapping_sparc64.h for SPARC 64-bit.
348 * asan/asan_mapping_sparc64.h: New file.
349
a196c82c
EB
3502019-03-13 Eric Botcazou <ebotcazou@adacore.com>
351
352 PR sanitizer/80953
353 Merge from LLVM revision 355979
354 * asan/asan_globals.c (GetGlobalsForAddress): Use internal_memcpy to
355 copy Global objects for SPARC with GCC.
356
36b50aeb
EB
3572019-03-13 Eric Botcazou <ebotcazou@adacore.com>
358
359 PR sanitizer/80953
360 Merge from LLVM revision 355978
361 * sanitizer_common/sanitizer_allocator_primary32.h
362 (class SizeClassAllocator32): Assert that kSpaceSize is power of 2 if
363 SANITIZER_SIGN_EXTENDED_ADDRESSES is set.
364 (PointerIsMine): Deal with SANITIZER_SIGN_EXTENDED_ADDRESSES.
365 (ComputeRegionId): Likewise.
366 * sanitizer_common/sanitizer_linux.cc (GetMaxVirtualAddress): Return
367 appropriate value for SPARC 64-bit.
368 * sanitizer_common/sanitizer_platform.h (SANITIZER_MMAP_RANGE_SIZE):
369 Define for SPARC.
370 (SANITIZER_SIGN_EXTENDED_ADDRESSES): Define to 1 for SPARC 64-bit.
371
017abbe3
EB
3722019-03-13 Eric Botcazou <ebotcazou@adacore.com>
373
374 PR sanitizer/80953
375 Merge from LLVM revision 355965
376 * sanitizer_common/sanitizer_linux.cc (GetWriteFlag): Implement for
377 SPARC/Linux.
378 (GetPcSpBp): Likewise.
379 * sanitizer_common/sanitizer_stacktrace.cc (GetNextInstructionPc):
380 Adjust for SPARC.
381 * sanitizer_common/sanitizer_stacktrace.h (SANITIZER_CAN_FAST_UNWIND):
382 Define to 1 for SPARC.
383 * sanitizer_common/sanitizer_stacktrace_sparc.cc: Rewrite.
384 * sanitizer_common/sanitizer_unwind_linux_libcdep.cc (SlowUnwindStack):
385 Adjust the PC address for SPARC with GCC.
386
c24847a5
ML
3872019-03-06 Martin Liska <mliska@suse.cz>
388
389 PR sanitizer/88684
390 * sanitizer_common/sanitizer_platform.h (defined): Cherry pick.
391 (SANITIZER_NON_UNIQUE_TYPEINFO): Likewise.
392 * ubsan/ubsan_type_hash_itanium.cc (isDerivedFromAtOffset):
393 Likewise.
394
4dfc5b35
L
3952019-02-20 H.J. Lu <hongjiu.lu@intel.com>
396
397 PR sanitizer/89409
398 * sanitizer_common/sanitizer_linux.cc (internal_readlink):
399 Cherry-pick compiler-rt r354451.
400
a795cd3d
JG
4012019-01-23 Jonny Grant <jg@jguk.org>
402
403 PR sanitizer/89010
404 * libsanitizer/README.gcc: Update to current https URLs.
405
96051ee5
ML
4062018-12-27 Martin Liska <mliska@suse.cz>
407
a795cd3d 408 PR sanitizer/86229
96051ee5
ML
409 * asan/asan_errors.cc (ErrorAllocTypeMismatch::Print): Cherry
410 pick rL350085.
411 * asan/asan_errors.h (struct ErrorAllocTypeMismatch): Likewise.
412
15e109b3
ML
4132018-11-09 Martin Liska <mliska@suse.cz>
414
415 * LOCAL_PATCHES: Include one local patch.
416
d1e2e13c
ML
4172018-11-09 Martin Liska <mliska@suse.cz>
418
419 PR sanitizer/87892
420 * sanitizer_common/sanitizer_linux_libcdep.cc (defined): Return
421 1 when CPU_COUNT macro is not defined.
422
39abbb86
BS
4232018-11-08 Bill Seurer <seurer@linux.vnet.ibm.com>
424
425 * libsanitizer/sanitizer_common/sanitizer_linux.cc (CheckASLR):
426 Disable ASLR for powerpc64 when using sanitizers.
427
aaabfd71
RO
4282018-11-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
429
430 PR sanitizer/80953
431 * configure.tgt (sparc*-*-solaris2.11*): Enable.
432 (x86_64-*-solaris2.11* | i?86-*-solaris2.11*): Enable.
433
0b5ccc80
RO
4342018-11-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
435
436 PR sanitizer/80953
437 * sanitizer_common/sanitizer_internal_defs.h,
438 sanitizer_common/sanitizer_platform_limits_solaris.h,
439 sanitizer_common/sanitizer_procmaps_solaris.cc,
440 sanitizer_common/sanitizer_solaris.cc: Cherry-pick compiler-rt
441 revision 346153.
442 * sanitizer_common/sanitizer_stacktrace.h,
443 sanitizer_common/sanitizer_stacktrace_sparc.cc: Cherry-pick
444 compiler-rt revision 346155.
445
b40a67df
SB
4462018-11-05 Segher Boessenkool <segher@kernel.crashing.org>
447
448 * LOCAL_PATCHES: Add r258525.
449 * sanitizer_common/sanitizer_stacktrace.cc
450 (BufferedStackTrace::FastUnwindStack): Use the correct frame offset
451 for PowerPC SYSV ABI.
452
6388cb29
ML
4532018-11-05 Martin Liska <mliska@suse.cz>
454
455 PR sanitizer/87860
456 * sanitizer_common/sanitizer_linux.cc: Cherry-pick upstream
457 r346129.
458
22e05272
JM
4592018-10-31 Joseph Myers <joseph@codesourcery.com>
460
461 PR bootstrap/82856
462 * Makefile.am: Include multilib.am.
463 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
464 * Makefile.in, aclocal.m4, asan/Makefile.in, configure,
465 interception/Makefile.in, libbacktrace/Makefile.in,
466 lsan/Makefile.in, sanitizer_common/Makefile.in, tsan/Makefile.in,
467 ubsan/Makefile.in: Regenerate.
468
088371bf
ML
4692018-10-31 Martin Liska <mliska@suse.cz>
470
471 * LOCAL_PATCHES: Update to installed revisions.
472
c244886c
ML
4732018-10-31 Martin Liska <mliska@suse.cz>
474
475 * ubsan/ubsan_platform.h: Add ifndef as we define it with
476 -DCAN_SANITIZE_UB CFLAGS.
477
f607b87c
ML
4782018-10-31 Martin Liska <mliska@suse.cz>
479
480 * asan/asan_mapping.h: Revert shadow memory offset to 1 << 41.
481
e63c9677
ML
4822018-10-31 Martin Liska <mliska@suse.cz>
483
484 * LOCAL_PATCHES: Update patch list.
485 * asan/asan_globals.cc (CheckODRViolationViaIndicator): Apply
486 patches from GCC's trunk.
487 (CheckODRViolationViaPoisoning): Likewise.
488 (RegisterGlobal): Likewise.
489 * sanitizer_common/sanitizer_mac.cc (defined): Likewise.
490 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Likewise.
491 * ubsan/ubsan_handlers.cc (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
492 (__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
493 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
494 (struct CFICheckFailData): Likewise.
495 (RECOVERABLE): Likewise.
496
8468f944
ML
4972018-10-31 Martin Liska <mliska@suse.cz>
498
499 * config.h.in: Regenerate.
500 * configure: Likewise.
501 * sanitizer_common/Makefile.am: Include new files, remove old
502 files.
503 * sanitizer_common/Makefile.in: Regenerate.
504 * ubsan/Makefile.am: Include new files, remove old
505 files.
506 * ubsan/Makefile.in: Likewise.
507 * asan/Makefile.am: Include new files.
508 * asan/Makefile.in: Regenerate.
509
eac97531
ML
5102018-10-31 Martin Liska <mliska@suse.cz>
511
512 * All source files: Merge from upstream 345033.
513
95fba530
ML
5142018-10-31 Martin Liska <mliska@suse.cz>
515
516 * HOWTO_MERGE: Enhance documentation.
517 * merge.sh: Add support for git as well.
518
b4f1f01d
ML
5192018-08-02 Martin Liska <mliska@suse.cz>
520
92a285c1 521 PR sanitizer/86022
b4f1f01d 522 * sanitizer_common/sanitizer_linux_libcdep.cc (ThreadDescriptorSize):
92a285c1 523 Cherry-pick compiler-rt revision 338606.
b4f1f01d 524
c191b1ab
MP
5252018-08-01 Marek Polacek <polacek@redhat.com>
526
527 PR sanitizer/86759
528 * tsan/tsan_platform.h: Cherry-pick compiler-rt revision 318044.
529 * tsan/tsan_platform_linux.cc: Cherry-pick compiler-rt revision
530 319180.
531
c83b4b82
L
5322018-07-25 H.J. Lu <hongjiu.lu@intel.com>
533
534 PR target/86560
535 * asan/asan_interceptors.cc (swapcontext) Cherry-pick
536 compiler-rt revision 337603.
537 * sanitizer_common/sanitizer_internal_defs.h (__has_attribute):
538 Likewise.
539
bdfc619e
JJ
5402018-07-05 Jakub Jelinek <jakub@redhat.com>
541
542 Revert
543 2018-07-04 Maxim Ostapenko <m.ostapenko@samsung.com>
544
545 PR sanitizer/84250
546 * Makefile.am: Reorder libs.
547 * Makefile.in: Regenerate.
548 * asan/Makefile.am: Define DCAN_SANITIZE_UB=1, add dependancy from
549 libsanitizer_ubsan.la.
550 * asan/Makefile.in: Regenerate.
551 * ubsan/Makefile.am: Define new libsanitizer_ubsan.la library.
552 * ubsan/Makefile.in: Regenerate.
553
ca8dd9f2
MO
5542018-07-04 Maxim Ostapenko <m.ostapenko@samsung.com>
555
556 PR sanitizer/84250
557 * Makefile.am: Reorder libs.
558 * Makefile.in: Regenerate.
559 * asan/Makefile.am: Define DCAN_SANITIZE_UB=1, add dependancy from
560 libsanitizer_ubsan.la.
561 * asan/Makefile.in: Regenerate.
562 * ubsan/Makefile.am: Define new libsanitizer_ubsan.la library.
563 * ubsan/Makefile.in: Regenerate.
564
3b07c0e5
DK
5652018-06-13 Denis Khalikov <d.khalikov@partner.samsung.com>
566
92a285c1
ML
567 PR sanitizer/86090
568 * configure.ac: Check for lstat and readlink.
569 * configure, config.h.in: Rebuild.
3b07c0e5 570
5b87c1fe
MK
5712018-05-31 Matthias Klose <doko@ubuntu.com>
572
573 PR sanitizer/86012
574 * sanitizer_common/sanitizer_platform_limits_posix.cc: Define
575 SIZEOF_STRUCT_USTAT for 32bit sparc.
576
71b55d45
L
5772018-05-24 H.J. Lu <hongjiu.lu@intel.com>
578
579 PR sanitizer/85835
580 * sanitizer_common/sanitizer_platform_limits_posix.cc: Don't
581 include <sys/ustat.h> for Linux.
582 (SIZEOF_STRUCT_USTAT): New.
583 (struct_ustat_sz): Use SIZEOF_STRUCT_USTAT for Linux.
584
bc40f166
HPN
5852018-04-26 Hans-Peter Nilsson <hp@axis.com>
586
752361c9
HPN
587 * configure.tgt <mips*-*-linux*>: Enable build, excluding
588 mips*64*-*-linux*.
589
9f943b24
HPN
590 * sanitizer_common/sanitizer_platform_limits_linux.cc: Do not
591 take the shortcut to #include <sys/stat.h> for MIPS instead of
592 the kernel <asm/stat.h>. Explain why sys/stat.h is misleading
593 or wrong to get the kernel struct stat.
594 * sanitizer_common/sanitizer_platform_limits_posix.h [__mips__]:
595 Correct the value for 32-bit non-android struct_kernel_stat_sz.
596
bc40f166
HPN
597 * sanitizer_common/sanitizer_atomic_clang_other.h [_MIPS_SIM
598 && _MIPS_SIM == _ABIO32] (lock): Add initializer for .pad member.
599
7b47ecf2
L
6002018-04-24 H.J. Lu <hongjiu.lu@intel.com>
601
602 * configure: Regenerated.
603
a0e1df88
JJ
6042018-04-19 Jakub Jelinek <jakub@redhat.com>
605
606 * configure: Regenerated.
607
001ddaa8
DM
6082018-04-18 David Malcolm <dmalcolm@redhat.com>
609
610 PR jit/85384
611 * configure: Regenerate.
612
19ddb884
BS
6132018-04-18 Bill Seurer <seurer@linux.vnet.ibm.com>
614
615 PR sanitizer/85389
616 * asan/asan_allocator.h (kAllocatorSpace): For __powerpc64__ change
617 from 0xa0000000000ULL to ~(uptr)0.
618
359ea407
JJ
6192018-03-19 Jakub Jelinek <jakub@redhat.com>
620
621 PR sanitizer/84761
622 * sanitizer_common/sanitizer_linux_libcdep.cc (__GLIBC_PREREQ):
623 Define if not defined.
624 (DL_INTERNAL_FUNCTION): Don't define.
625 (InitTlsSize): For __i386__ if not compiled against glibc 2.27+
626 determine at runtime whether to use regparm(3), stdcall calling
627 convention for older glibcs or normal calling convention for
628 newer glibcs for call to _dl_get_tls_static_info.
629
1422855a
SB
6302018-03-14 Segher Boessenkool <segher@kernel.crashing.org>
631
632 * sanitizer_common/sanitizer_stacktrace.cc
633 (BufferedStackTrace::FastUnwindStack): Use the correct frame offset
634 for PowerPC SYSV ABI.
635
14e335ed
IT
6362018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
637
638 PR target/84148
639 * configure: Regenerate.
640
4c4f3c3f
ML
6412018-02-05 Martin Liska <mliska@suse.cz>
642
643 * asan/asan_flags.inc: Cherry-pick upstream r323995.
644 * asan/asan_report.cc (CheckForInvalidPointerPair):
645 Cherry-pick upstream r323995.
646
2d509539
RO
6472018-01-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
648
649 PR sanitizer/82825
650 * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
9dfc6e83 651 r324284.
2d509539 652
1f7273e5
RO
6532018-01-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
654
655 PR sanitizer/82824
656 * lsan/lsan_common_mac.cc: Cherry-pick upstream r322437.
657
05abad4c
ML
6582017-12-05 Martin Liska <mliska@suse.cz>
659 Jakub Jelinek <jakub@redhat.com>
660
661 * asan/asan_descriptions.cc: Cherry-pick upstream r319668.
662 * asan/asan_descriptions.h: Likewise.
663 * asan/asan_report.cc: Likewise.
664 * asan/asan_thread.cc: Likewise.
665 * asan/asan_thread.h: Likewise.
666
9069eb28
IT
6672017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
668
669 * acinclude.m4: Add enable.m4 and cet.m4.
670 * Makefile.in: Regenerate.
671 * asan/Makefile.am: Update AM_CXXFLAGS.
672 * asan/Makefile.in: Regenerate.
673 * configure: Likewise.
674 * configure.ac: Set CET_FLAGS. Update EXTRA_CFLAGS,
675 EXTRA_CXXFLAGS, EXTRA_ASFLAGS.
676 * interception/Makefile.am: Update AM_CXXFLAGS.
677 * interception/Makefile.in: Regenerate.
678 * libbacktrace/Makefile.am: Update AM_CFLAGS, AM_CXXFLAGS.
679 * libbacktrace/Makefile.in: Regenerate.
680 * lsan/Makefile.am: Update AM_CXXFLAGS.
681 * lsan/Makefile.in: Regenerate.
682 * sanitizer_common/Makefile.am: Update AM_CXXFLAGS,
683 AM_CCASFLAGS.
684 * sanitizer_common/sanitizer_linux_x86_64.S: Include cet.h.
685 Add _CET_ENDBR macro.
686 * sanitizer_common/Makefile.in: Regenerate.
687 * tsan/Makefile.am: Update AM_CXXFLAGS.
688 * tsan/Makefile.in: Regenerate.
689 * tsan/tsan_rtl_amd64.S Include cet.h. Add _CET_ENDBR macro.
690 * ubsan/Makefile.am: Update AM_CXXFLAGS.
691 * ubsan/Makefile.in: Regenerate.
692
5925290f
JJ
6932017-11-08 Jakub Jelinek <jakub@redhat.com>
694
695 PR bootstrap/82670
696 * ubsan/Makefile.am (ubsan_files): Remove ubsan_init_standalone.cc
697 and ubsan_signals_standalone.cc.
698 * ubsan/Makefile.in: Regenerated.
699
735e62b9
TV
7002017-11-05 Tom de Vries <tom@codesourcery.com>
701
702 PR other/82784
703 * asan/asan_poisoning.cc (CHECK_SMALL_REGION): Remove semicolon after
704 "do {} while (0)".
705 * lsan/lsan_common.cc (LOG_POINTERS, LOG_THREADS): Same.
706
9a45ffbd
JJ
7072017-10-20 Jakub Jelinek <jakub@redhat.com>
708
709 PR sanitizer/82595
710 * lsan/lsan.h (__lsan_init): Add SANITIZER_INTERFACE_ATTRIBUTE.
711 * lsan/Makefile.am (nodist_toolexeclib_HEADERS): Add
712 liblsan_preinit.o.
713 (lsan_files): Remove lsan_preinit.cc.
714 (liblsan_preinit.o): New rule.
715 * lsan/Makefile.in: Regenerated.
716
5d3805fc
JJ
7172017-10-19 Jakub Jelinek <jakub@redhat.com>
718
719 * All source files: Merge from upstream 315899.
92a285c1 720 * asan/Makefile.am (nodist_saninclude_HEADERS): Add
5d3805fc 721 include/sanitizer/tsan_interface.h.
92a285c1 722 * asan/libtool-version: Bump the libasan SONAME.
5d3805fc
JJ
723 * lsan/Makefile.am (sanitizer_lsan_files): Add lsan_common_mac.cc.
724 (lsan_files): Add lsan_linux.cc, lsan_mac.cc and lsan_malloc_mac.cc.
92a285c1 725 * sanitizer_common/Makefile.am (sanitizer_common_files): Add
5d3805fc
JJ
726 sancov_flags.cc, sanitizer_allocator_checks.cc,
727 sanitizer_coverage_libcdep_new.cc, sanitizer_errno.cc,
728 sanitizer_file.cc, sanitizer_mac_libcdep.cc and
729 sanitizer_stoptheworld_mac.cc. Remove sanitizer_coverage_libcdep.cc
730 and sanitizer_coverage_mapping_libcdep.cc.
92a285c1 731 * tsan/Makefile.am (tsan_files): Add tsan_external.cc.
5d3805fc
JJ
732 * ubsan/Makefile.am (DEFS): Add -DUBSAN_CAN_USE_CXXABI=1.
733 (ubsan_files): Add ubsan_init_standalone.cc and
734 ubsan_signals_standalone.cc.
735 * ubsan/libtool-version: Bump the libubsan SONAME.
92a285c1
ML
736 * asan/Makefile.in: Regenerate.
737 * lsan/Makefile.in: Regenerate.
738 * sanitizer_common/Makefile.in: Regenerate.
739 * tsan/Makefile.in: Regenerate.
5d3805fc
JJ
740 * ubsan/Makefile.in: Regenerate.
741
bf4df9e6
L
7422017-10-05 H.J. Lu <hongjiu.lu@intel.com>
743
744 PR sanitizer/82379
745 * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Set
746 to sanitizer_linux_x86_64.lo if __x86_64__ is defined by $CC.
747
d1453bec
JJ
7482017-10-02 Jakub Jelinek <jakub@redhat.com>
749
750 * libbacktrace/backtrace-rename.h (backtrace_uncompress_zdebug):
751 Define.
752
a5320f3c
JJ
7532017-08-07 Jakub Jelinek <jakub@redhat.com>
754
755 * include/system/sys/ptrace.h: New file.
756
c9b39a49
JJ
7572017-07-28 Jakub Jelinek <jakub@redhat.com>
758
759 PR sanitizer/80998
760 * ubsan/ubsan_handlers.cc: Cherry-pick upstream r304461.
761 * ubsan/ubsan_checks.inc: Likewise.
762 * ubsan/ubsan_handlers.h: Likewise.
763
144e36a7
JJ
7642017-07-14 Jakub Jelinek <jakub@redhat.com>
765
766 PR sanitizer/81066
767 * sanitizer_common/sanitizer_linux.h: Cherry-pick upstream r307969.
768 * sanitizer_common/sanitizer_linux.cc: Likewise.
769 * sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: Likewise.
770 * tsan/tsan_platform_linux.cc: Likewise.
771
d9f8c5af
ML
7722017-04-06 Martin Liska <mliska@suse.cz>
773
774 PR sanitizer/80166
775 * sanitizer_common/sanitizer_common_interceptors.inc (INTERCEPTOR):
776 Cherry-pick upstream r299036.
777
fd6cba40
JJ
7782017-03-22 Jakub Jelinek <jakub@redhat.com>
779
780 PR sanitizer/78158
781 * tsan/tsan_interface_atomic.cc: Cherry-pick upstream r298378.
782
9b9ad360
AT
7832017-02-16 Andreas Tobler <andreast@gcc.gnu.org>
784
785 PR sanitizer/79562
786 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry-pick
787 upstream r294806.
788
1509524b
JJ
7892017-02-11 Jakub Jelinek <jakub@redhat.com>
790
791 PR sanitizer/79341
792 * configure.tgt (s390*-*-linux*): Don't disable libsanitizer on
793 s390-linux 31-bit.
794 * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
795 r294793.
796 * sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
797 upstream r294790.
798 * sanitizer_common/sanitizer_linux_s390.cc: Cherry-pick upstream
799 r294799.
800
778e0ac3
MO
8012017-02-03 Maxim Ostapenko <m.ostapenko@samsung.com>
802
803 PR sanitizer/78663
804 * sanitizer_common/sanitizer_mac.cc: Cherry-pick upstream r293992.
805 * sanitizer_common/sanitizer_platform_interceptors.h: Likewise.
806
4997a71d
JJ
8072017-01-31 Jakub Jelinek <jakub@redhat.com>
808
809 * configure.tgt: Enable asan and ubsan on 64-bit s390*-*-linux*.
810
86b2a558
JJ
8112017-01-24 Jakub Jelinek <jakub@redhat.com>
812
c831801d
JJ
813 * configure.tgt: Enable tsan and lsan on powerpc64{,le}-*-linux*.
814
86b2a558
JJ
815 PR sanitizer/79168
816 * merge.sh (change_comment_headers): Don't remove 2nd and 3rd line
817 if the 3rd line doesn't contain 'The LLVM Compiler Infrastructure'
818 text.
819 * sanitizer_common/sanitizer_linux_mips64.S: Regenerated.
820 * sanitizer_common/sanitizer_linux_x86_64.S: Likewise.
821 * tsan/tsan_ppc_regs.h: Likewise.
822 * tsan/tsan_rtl_aarch64.S: Likewise.
823 * tsan/tsan_rtl_mips64.S: Likewise.
824 * tsan/tsan_rtl_ppc64.S: Likewise.
825
73aa401e
JJ
8262017-01-21 Jakub Jelinek <jakub@redhat.com>
827
828 PR other/79046
829 * interception/Makefile.am (gcc_version): Use @get_gcc_base_ver@
830 instead of cat to get version from BASE-VER file.
831 * asan/Makefile.am (gcc_version): Likewise.
832 * ubsan/Makefile.am (gcc_version): Likewise.
833 * sanitizer_common/Makefile.am (gcc_version): Likewise.
834 * lsan/Makefile.am (gcc_version): Likewise.
835 * tsan/Makefile.am (gcc_version): Likewise.
836 * interception/Makefile.in: Regenerated.
837 * asan/Makefile.in: Regenerated.
838 * ubsan/Makefile.in: Regenerated.
839 * sanitizer_common/Makefile.in: Regenerated.
840 * lsan/Makefile.in: Regenerated.
841 * tsan/Makefile.in: Regenerated.
842
3c36aa6b
JJ
8432017-01-17 Jakub Jelinek <jakub@redhat.com>
844
845 PR other/79046
846 * configure.ac: Add GCC_BASE_VER.
847 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
848 get version from BASE-VER file.
849 * libbacktrace/Makefile.in: Regenerated.
850 * interception/Makefile.in: Regenerated.
851 * asan/Makefile.in: Regenerated.
852 * ubsan/Makefile.in: Regenerated.
853 * configure: Regenerated.
854 * sanitizer_common/Makefile.in: Regenerated.
855 * lsan/Makefile.in: Regenerated.
856 * Makefile.in: Regenerated.
857 * tsan/Makefile.in: Regenerated.
858
942136a4
JC
8592017-01-10 James Clarke <jrtc27@jrtc27.com>
860
861 PR sanitizer/78992
862 * sanitizer_common/sanitizer_platform_limits_posix.h
863 (struct __sanitizer_sigaction): Cherry-pick upstream r291561.
864
11bbe995
MO
8652016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
866
867 * LOCAL_PATCHES: Add revision.
868
d61ed91e
MO
8692016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
870
871 PR sanitizer/78532
872 * sanitizer_common/sanitizer_platform_limits_posix.h
873 (__sanitizer_sigaction): Adjust for sparc targets and various Glibc
874 versions.
875
f4214e23
MT
8762016-11-29 Markus Trippelsdorf <markus@trippelsdorf.de>
877
878 * LOCAL_PATCHES: Remove r242480.
879
00212843
RO
8802016-11-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
881
882 * LOCAL_PATCHES: Add revision.
883
97448adf
RO
8842016-11-20 Jack Howarth <howarth.at.gcc@gmail.com>
885
886 PR sanitizer/78267
887 * sanitizer_common/sanitizer_mac.cc: Include <os/trace.h> only if
888 compiler supports blocks extension.
889
61a58d07
MT
8902016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
891
892 * LOCAL_PATCHES: Add revision.
893
8c32ae0e
MT
8942016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
895
896 PR sanitizer/78294
897 * tsan/tsan_rtl.cc: Add missing attribute.
898
949cc52d
MO
8992016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
900
901 * LOCAL_PATCHES: New file.
902
511c8687
MO
9032016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
904
905 PR sanitizer/78307
906 * ubsan/ubsan_handlers.cc (__ubsan_handle_cfi_bad_icall): New function.
907 ( __ubsan_handle_cfi_bad_icall_abort): Likewise.
908 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): New type.
909 * ubsan/ubsan_handlers_cxx.cc (__ubsan_handle_cfi_bad_type): New
910 function.
911 (__ubsan_handle_cfi_bad_type_abort): Likewise.
912 * ubsan/ubsan_handlers_cxx.h (struct CFIBadTypeData): New type.
913 (__ubsan_handle_cfi_bad_type): Export function.
914 (__ubsan_handle_cfi_bad_type_abort): Likewise.
915 * HOWTO_MERGE: Update documentation.
916
84c1b9d3
MK
9172016-11-15 Matthias Klose <doko@ubuntu.com>
918
919 * configure: Regenerate.
920
8f16b6ca
MO
9212016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
922
923 * asan/asan_globals.cc (RegisterGlobal): Do not call
924 CheckODRViolationViaPoisoning.
925 (CheckODRViolationViaPoisoning): Remove.
926
789306de
MO
9272016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
928
929 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
930 compiled code with GCC when extracting the caller PC for ARM if no
931 valid frame pointer is available.
932
fe7913f6
MO
9332016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
934
935 PR sanitizer/63958
936 Reapply:
937 2014-10-14 David S. Miller <davem@davemloft.net>
938
939 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
940 Define at __kernel_time_t, as needed for sparc.
941 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
942 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
943 (__sanitizer): Define struct___old_kernel_stat_sz,
944 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
945 (__sanitizer_ipc_perm): Adjust for sparc targets.
946 (__sanitizer_shmid_ds): Likewsie.
947 (__sanitizer_sigaction): Likewise.
948 (IOC_SIZE): Likewsie.
949
10189819
MO
9502016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
951
952 * All source files: Merge from upstream 285547.
953 * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): New
954 variable.
955 * configure.ac (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Handle it.
956 * asan/Makefile.am (asan_files): Add new files.
957 * asan/Makefile.in: Regenerate.
958 * ubsan/Makefile.in: Likewise.
959 * lsan/Makefile.in: Likewise.
960 * tsan/Makefile.am (tsan_files): Add new files.
961 * tsan/Makefile.in: Regenerate.
962 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
963 (EXTRA_libsanitizer_common_la_SOURCES): Define.
964 (libsanitizer_common_la_LIBADD): Likewise.
965 (libsanitizer_common_la_DEPENDENCIES): Likewise.
966 * sanitizer_common/Makefile.in: Regenerate.
967 * interception/Makefile.in: Likewise.
968 * libbacktace/Makefile.in: Likewise.
969 * Makefile.in: Likewise.
970 * configure: Likewise.
971 * merge.sh: Handle builtins/assembly.h merging.
972 * builtins/assembly.h: New file.
973 * asan/libtool-version: Bump the libasan SONAME.
974
aef6a97c
JJ
9752016-09-21 Jakub Jelinek <jakub@redhat.com>
976
977 PR sanitizer/77567
978 * asan/asan_new_delete.cc: Cherry-pick upstream r282019.
979
0ce48391
JJ
9802016-09-05 Jakub Jelinek <jakub@redhat.com>
981
982 PR sanitizer/77396
983 * asan/asan_globals.cc: Cherry-pick upstream r280657.
984
e23a7a99
JJ
9852016-08-12 Jakub Jelinek <jakub@redhat.com>
986
987 PR sanitizer/71042
988 * tsan/tsan_platform_linux.cc: Cherry-pick upstream r278292.
989 * tsan/tsan_rtl_aarch64.S: Likewise.
990
aa00995c
AM
9912016-07-23 Alan Modra <amodra@gmail.com>
992
993 Revert 2015-11-09 Alan Modra <amodra@gmail.com>
994 * configure.ac: Don't substitute OBSTACK_DEFS.
995 * asan/Makefile.am: Remove OBSTACK_DEFS from DEFS.
996 * tsan/Makefile.am: Likewise.
997 * configure: Regenerate.
998 * Makefile.in: Regenerate.
999 * asan/Makefile.in: Regenerate.
1000 * interception/Makefile.in: Regenerate.
1001 * libbacktrace/Makefile.in: Regenerate.
1002 * lsan/Makefile.in: Regenerate.
1003 * sanitizer_common/Makefile.in: Regenerate.
1004 * tsan/Makefile.in: Regenerate.
1005 * ubsan/Makefile.in: Regenerate.
1006
69af4eec
JJ
10072016-05-17 Jakub Jelinek <jakub@redhat.com>
1008
1009 PR sanitizer/71160
1010 * asan/asan_malloc_linux.cc: Cherry pick upstream r254395
1011 and r269633.
1012
fefddbef
MO
10132016-04-21 Maxim Ostapenko <m.ostapenko@samsung.com>
1014
1015 PR sanitizer/70624
1016 * asan/asan_mac.cc: Cherry pick upstream r266868.
1017
e4729419
JJ
10182016-01-19 Jakub Jelinek <jakub@redhat.com>
1019
1020 PR sanitizer/68824
1021 * tsan/tsan_interceptors.cc (NEED_TLS_GET_ADDR, __tls_get_addr,
1022 InitializeInterceptors): Cherry pick upstream r258119.
1023
bf93d543
AT
10242016-01-14 Andreas Tobler <andreast@gcc.gnu.org>
1025
1026 * configure.ac: Replace the hard-coded -ldl requirement for
1027 link_sanitizer_common with a configure time check for -ldl.
1028 * configure: Regenerate.
1029
9211bbb2
MO
10302015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1031
1032 * include/system/linux/asm/ptrace.h: Move to ...
1033 * include/system/asm/ptrace.h: ... this.
1034
664dd3cf
MO
10352015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1036
1037 * include/system/linux/asm/ptrace.h: New header.
1038
55aea9f5
MO
10392015-11-23 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1040
1041 * All source files: Merge from upstream r253555.
1042 * configure.tgt: Enable LSan on aarch64-*-linux* targets. Add new
1043 dependences for TSan for aarch64-*-linux* targets.
1044 * tsan/Makefile.am: Add new source files.
1045 * configure: Regenerate.
1046 * tsan/Makefile.in: Likewise.
1047
62c0f0a6
AM
10482015-11-09 Alan Modra <amodra@gmail.com>
1049
1050 * sanitizer_common/sanitizer_common_interceptors.inc: Update size
1051 params for _obstack_begin_1, _obstack_begin, _obstack_newchunk
1052 interceptors.
1053 * configure.ac: Substitute OBSTACK_DEFS.
1054 * asan/Makefile.am: Add OBSTACK_DEFS to DEFS.
1055 * tsan/Makefile.am: Likewise.
1056 * configure: Regenerate.
1057 * Makefile.in: Regenerate.
1058 * asan/Makefile.in: Regenerate.
1059 * interception/Makefile.in: Regenerate.
1060 * libbacktrace/Makefile.in: Regenerate.
1061 * lsan/Makefile.in: Regenerate.
1062 * sanitizer_common/Makefile.in: Regenerate.
1063 * tsan/Makefile.in: Regenerate.
1064 * ubsan/Makefile.in: Regenerate.
1065
692b1131
MO
10662015-10-22 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1067
1068 PR bootstrap/68041
1069 * configure.ac (link_sanitizer_common): Link against librt only if it
1070 contains shm_open, required by sanitizers.
1071 (CXX_ABI_NEEDED): Remove variable.
1072 * configure: Regenerate.
1073 * ubsan/Makefile.am (libubsan_la_LIBADD): Do not add -lc++abi anymore.
1074 * ubsan/Makefile.in: Regenerate.
1075
7047bc9c
MO
10762015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1077
1078 * HOWTO_MERGE: New file.
1079
21d61063
MO
10802015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1081
1082 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
1083 compiled code with GCC when extracting the caller PC for ARM if no
1084 valid frame pointer is available.
1085
15ebe1fe
MO
10862015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1087
1088 PR bootstrap/63888
1089 Reapply:
1090 2015-02-20 Jakub Jelinek <jakub@redhat.com>
1091
1092 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
1093 support until it is rewritten upstream.
1094
1095 * c-c++-common/asan/pr63888.c: New test.
1096
0d57d3e0
MO
10972015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1098
1099 PR sanitizer/63958
1100 Reapply:
1101 2014-10-14 David S. Miller <davem@davemloft.net>
1102
1103 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1104 Define at __kernel_time_t, as needed for sparc.
1105 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1106 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1107 (__sanitizer): Define struct___old_kernel_stat_sz,
1108 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1109 (__sanitizer_ipc_perm): Adjust for sparc targets.
1110 (__sanitizer_shmid_ds): Likewsie.
1111 (__sanitizer_sigaction): Likewise.
1112 (IOC_SIZE): Likewsie.
1113
696d846a
MO
11142015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1115
1116 * All source files: Merge from upstream r250806.
1117 * configure.ac (link_sanitizer_common): Add -lrt flag.
1118 * configure.tgt: Enable TSAN and LSAN for aarch64-linux targets.
1119 Set USE_CXX_ABI_FLAG=true for darwin.
1120 * asan/Makefile.am (asan_files): Add new files.
1121 (DEFS): Add DCAN_SANITIZE_UB=0 and remove unused and legacy
1122 DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0.
1123 * asan/Makefile.in: Regenerate.
1124 * ubsan/Makefile.am (ubsan_files): Add new files.
1125 (DEFS): Add DCAN_SANITIZE_UB=1.
1126 (libubsan_la_LIBADD): Add -lc++abi if USE_CXX_ABI_FLAG is true.
1127 * ubsan/Makefile.in: Regenerate.
1128 * tsan/Makefile.am (tsan_files): Add new files.
1129 (DEFS): Add DCAN_SANITIZE_UB=0.
1130 * tsan/Makefile.in: Regenerate.
1131 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
1132 * sanitizer_common/Makefile.in: Regenerate.
1133 * asan/libtool-version: Bump the libasan SONAME.
1134
1842a04c
MT
11352015-09-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1136
1137 PR sanitizer/67258
1138 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r244101.
1139
97d8f801
MT
11402015-07-29 Markus Trippelsdorf <markus@trippelsdorf.de>
1141
1142 PR sanitizer/63927
1143 * sanitizer_common/sanitizer_stacktrace.h: Use fast unwinder
1144 for PowerPC.
1145
3d61d875
BS
11462015-07-28 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1147
1148 PR sanitizer/63927
1149 * sanitizer_common/sanitizer_stacktrace.cc
1150 (BufferedStackTrace::FastUnwindStack): Fix code for PowerPC to
1151 find the link register at an offset of 16 from the base of the
1152 caller's stack frame.
1153
f3915b42
MH
11542015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
1155
1156 * Makefile.in: Regenerated with automake-1.11.6.
1157 * aclocal.m4: Likewise.
1158 * asan/Makefile.in: Likewise.
1159 * configure: Likewise.
1160 * interception/Makefile.in: Likewise.
1161 * libbacktrace/Makefile.in: Likewise.
1162 * lsan/Makefile.in: Likewise.
1163 * sanitizer_common/Makefile.in: Likewise.
1164 * tsan/Makefile.in: Likewise.
1165 * ubsan/Makefile.in: Likewise.
1166
d041a6fc
YG
11672015-04-13 Yury Gribov <y.gribov@samsung.com>
1168
1169 PR sanitizer/64839
1170 * sanitizer_common/sanitizer_platform.h: Cherry pick
1171 upstream r234470.
1172 * sanitizer_common/sanitizer_platform_limits_posix.cc: Ditto.
1173 * configure.ac (RPC_DEFS): Check for precense of RPC headers.
1174 * sanitizer_common/Makefile.am (DEFS): Pass info to compiler.
1175 * Makefile.in: Regenerate.
1176 * asan/Makefile.in: Regenerate.
1177 * config.h.in: Regenerate.
1178 * configure: Regenerate.
1179 * interception/Makefile.in: Regenerate.
1180 * libbacktrace/Makefile.in: Regenerate.
1181 * lsan/Makefile.in: Regenerate.
1182 * sanitizer_common/Makefile.in: Regenerate.
1183 * tsan/Makefile.in: Regenerate.
1184 * ubsan/Makefile.in: Regenerate.
1185
1186
d886f7cc
CL
11872015-03-23 Christophe Lyon <christophe.lyon@linaro.org>
1188
1189 PR sanitizer/59009
1190 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
1191 upstream r230324.
1192 * sanitizer_common/sanitizer_platform.h: Likewise.
1193 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
1194
563fb64a
BE
11952015-03-11 Bernd Edlinger <bernd.edlinger@hotmail.de>
1196
1197 * tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
1198 upstream 224508 and 224755.
1199
ee876e59
JJ
12002015-03-09 Jakub Jelinek <jakub@redhat.com>
1201
1202 PR sanitizer/63958
1203 Reapply:
1204 2014-10-14 David S. Miller <davem@davemloft.net>
1205
1206 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1207 Define at __kernel_time_t, as needed for sparc.
1208 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1209 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1210 (__sanitizer): Define struct___old_kernel_stat_sz,
1211 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1212 (__sanitizer_ipc_perm): Adjust for sparc targets.
1213 (__sanitizer_shmid_ds): Likewsie.
1214 (__sanitizer_sigaction): Likewise.
1215 (IOC_SIZE): Likewsie.
1216
6ad0611b
PB
12172015-02-27 Peter Bergner <bergner@vnet.ibm.com>
1218
1219 * configure.tgt: Enable build on powerpc*le-*-linux.
1220
09901e8a 12212015-02-23 Jakub Jelinek <jakub@redhat.com>
86ee2038
JJ
1222
1223 PR bootstrap/63888
1224 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
1225 support until it is rewritten upstream.
1226
94213c10
MK
12272015-01-26 Matthias Klose <doko@ubuntu.com>
1228
1229 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
1230 * configure: Regenerate.
1231
8790f572
VK
12322015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1233
94213c10 1234 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine.
8790f572 1235 * configure: Regenerate.
94213c10 1236 * configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
8790f572 1237
b0edd457
VK
12382015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1239
1240 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
1241 * configure: Regenerate.
1242 * tsan/Makefile.am (EXTRA_libtsan_la_SOURCES): Define.
1243 (libtsan_la_DEPENDENCIES): Likewise.
1244 * Makefile.in: Regenerate.
1245 * asan/Makefile.in: Regenerate.
1246 * interception/Makefile.in: Regenerate.
1247 * libbacktrace/Makefile.in: Regenerate.
1248 * lsan/Makefile.in: Regenerate.
1249 * sanitizer_common/Makefile.in: Regenerate.
1250 * tsan/Makefile.in: Regenerate.
1251 * ubsan/Makefile.in: Regenerate.
1252
19ac475f
JJ
12532015-01-22 Jakub Jelinek <jakub@redhat.com>
1254
1255 * tsan/tsan_rtl.h: Cherry pick upstream r226829.
1256
8b08ef25
JJ
12572015-01-21 Jakub Jelinek <jakub@redhat.com>
1258
1259 PR sanitizer/64435
1260 * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick
1261 upstream r226637.
1262 * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
1263 * sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639.
1264
3ea36418
JJ
12652015-01-20 Jakub Jelinek <jakub@redhat.com>
1266
1267 PR sanitizer/64632
1268 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r224972.
1269
9deaf59d
JJ
12702015-01-19 Jakub Jelinek <jakub@redhat.com>
1271
1272 PR sanitizer/64435
1273 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
1274 upstream r223925.
1275
b6a8bacc
JJ
12762015-01-13 Jakub Jelinek <jakub@redhat.com>
1277
1278 * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
1279 upstream r224518 and r224519.
1280 * tsan/tsan_rtl_thread.cc: Cherry pick upstream r224702 and
1281 r224834.
1282
f2798565
JJ
12832014-12-16 Jakub Jelinek <jakub@redhat.com>
1284
1285 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
1286 sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
1287 sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
1288 upstream r224308.
1289
a699d672
L
12902014-11-21 H.J. Lu <hongjiu.lu@intel.com>
1291
1292 PR bootstrap/63784
1293 * configure: Regenerated.
1294
7697b16f
JJ
12952014-11-21 Jakub Jelinek <jakub@redhat.com>
1296
1297 PR target/61137
1298 * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
1299 (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
1300
7f201a67
UB
13012014-11-14 Uros Bizjak <ubizjak@gmail.com>
1302
1303 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
1304 * asan/Makefile.am (AM_CXXFLAGS): Ditto.
1305 * lsan/Makefile.am (AM_CXXFLAGS): Ditto.
1306 * interception/Makefile.am (AM_CXXFLAGS): Ditto.
1307 * tsan/Makefile.am (AM_CXXFLAGS): Ditto.
1308 * libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
1309 * ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
1310 * sanitizer_common/Makefile.in: Regenerate.
1311 * asan/Makefile.in: Ditto.
1312 * lsan/Makefile.in: Ditto.
1313 * interception/Makefile.in: Ditto.
1314 * tsan/Makefile.in: Ditto.
1315 * libbacktrace/Makefile.in: Ditto.
1316 * ubsan/Makefile.in: Ditto.
1317
c5be964a
KS
13182014-11-13 Kostya Serebryany <kcc@google.com>
1319
1320 * All source files: Merge from upstream r221802.
1321 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
1322 (LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
1323 with 'start' to follow the new interface.
1324 * asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1325 * interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1326 * libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1327 * lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1328 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
1329 files.
1330 (AM_CXXFLAGS): Added -std=c++11.
1331 * tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1332 * ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1333 * asan/Makefile.in: Regenerate.
1334 * interception/Makefile.in: Regenerate.
1335 * libbacktrace/Makefile.in: Regenerate.
1336 * lsan/Makefile.in: Regenerate.
1337 * sanitizer_common/Makefile.in: Regenerate.
1338 * tsan/Makefile.in: Regenerate.
1339 * ubsan/Makefile.in: Regenerate.
1340
ebf6d33b
FXC
13412014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1342
1343 PR target/63610
1344 * configure: Regenerate.
1345
d13fc1ed
ML
13462014-10-16 Martin Liska <mliska@suse.cz>
1347
1348 * asan/Makefile.am: IPA ICF pass is disabled.
1349 * asan/Makefile.in: Likewise.
1350
c8473336
DM
13512014-10-14 David S. Miller <davem@davemloft.net>
1352
1353 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1354 Define at __kernel_time_t, as needed for sparc.
1355 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1356 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1357 (__sanitizer): Define struct___old_kernel_stat_sz,
1358 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1359 (__sanitizer_ipc_perm): Adjust for sparc targets.
1360 (__sanitizer_shmid_ds): Likewsie.
1361 (__sanitizer_sigaction): Likewsie.
1362 (IOC_SIZE): Likewsie.
1363
694b4cfa
JJ
13642014-10-14 Jakub Jelinek <jakub@redhat.com>
1365
1366 * ubsan/Makefile.am (DEFS): Add -DPIC.
1367 * ubsan/Makefile.in: Regenerated.
1368
a3125fc2
CL
13692014-09-26 Christophe Lyon <christophe.lyon@linaro.org>
1370
1371 * configure.tgt: Enable build on aarch64*-linux.
1372
866e32ad
KS
13732014-09-19 Kostya Serebryany <kcc@google.com>
1374
1375 * All source files: Merge from upstream r218156.
1376 * asan/Makefile.am (asan_files): Added new files.
1377 * asan/Makefile.in: Regenerate.
1378 * ubsan/Makefile.am (ubsan_files): Added new files.
1379 * ubsan/Makefile.in: Regenerate.
1380 * tsan/Makefile.am (tsan_files): Added new files.
1381 * tsan/Makefile.in: Regenerate.
1382 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
1383 files.
1384 * sanitizer_common/Makefile.in: Regenerate.
1385 * asan/libtool-version: Bump the libasan SONAME.
1386
126edc3f
JJ
13872014-09-10 Jakub Jelinek <jakub@redhat.com>
1388
1389 * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
1390 upstream r215485, r217389, r217391 and r217400.
1391
0d807c80
PC
13922014-06-23 Paolo Carlini <paolo.carlini@oracle.com>
1393
1394 * sanitizer_common/sanitizer_common_interceptors.inc:
1395 Cherry pick upstream r211008.
1396
4622301b
RB
13972014-06-11 Richard Biener <rguenther@suse.de>
1398
1399 * asan/asan_linux.cc: Cherry pick upstream r210012.
1400
ecd5543f
JJ
14012014-05-30 Jakub Jelinek <jakub@redhat.com>
1402
1403 * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
1404 r209879.
1405 * sanitizer_common/sanitizer_common.h: Likewise.
1406 * asan/asan_mapping.h: Likewise.
1407 * asan/asan_linux.cc: Likewise.
1408 * tsan/tsan_mman.cc: Cherry pick upstream r209744.
1409 * sanitizer_common/sanitizer_allocator.h: Likewise.
1410
85a16bf8
MP
14112014-05-23 Marek Polacek <polacek@redhat.com>
1412
1413 * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
1414 floating-point types.
1415
dee5ea7a
KS
14162014-05-22 Kostya Serebryany <kcc@google.com>
1417
1418 * All source files: Merge from upstream r209283.
1419 * asan/Makefile.am (asan_files): Added new files.
1420 * asan/Makefile.in: Regenerate.
1421 * tsan/Makefile.am (tsan_files): Added new files.
1422 * tsan/Makefile.in: Regenerate.
0d807c80
PC
1423 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
1424 files.
dee5ea7a
KS
1425 * sanitizer_common/Makefile.in: Regenerate.
1426
2675305b
YG
14272014-05-14 Yury Gribov <y.gribov@samsung.com>
1428
1429 PR sanitizer/61100
1430 * Makefile.am (nodist_saninclude_HEADERS): Install
1431 public headers.
1432 * Makefile.in: Regenerate.
1433
a6c9ab4e
RO
14342014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1435
1436 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
1437 Add ../../libbacktrace/sort.c.
1438 * libbacktrace/Makefile.in: Regenerate.
1439 * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
1440
a42a7046
BS
14412014-03-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1442
1443 * configure.tgt: Unsupported for little endian PowerPC for now.
1444
5ab39ec3
JJ
14452014-02-04 Jakub Jelinek <jakub@redhat.com>
1446
81c87471
JJ
1447 PR sanitizer/60055
1448 * tsan/tsan_flags.cc (__tsan_default_options): Add
1449 SANITIZER_INTERFACE_ATTRIBUTE. Backport from upstream r200747.
1450 * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
1451
5ab39ec3
JJ
1452 PR sanitizer/60038
1453 * sanitizer_common/sanitizer_linux_libcdep.cc: Include
1454 sanitizer_atomic.h and unistd.h.
1455 (kThreadDescriptorSize): Made static, remove initializer and const,
1456 change type to atomic_uintptr_t.
1457 (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
1458 query glibc version, compute kThreadDescriptorSize depending on
1459 glibc version minor number.
1460 (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
1461 kThreadDescriptorSize directly.
1462
4a7eaf5f
YG
14632014-01-23 Yury Gribov <y.gribov@samsung.com>
1464 Jakub Jelinek <jakub@redhat.com>
1465
1466 PR sanitizer/57316
1467 * configure.ac: Check for missing syscalls.
1468 * Makefile.am: Likewise.
1469 * configure: Regenerate.
1470 * Makefile.in: Regenerate.
1471
2613419a
JJ
14722014-01-09 Jakub Jelinek <jakub@redhat.com>
1473
b5f58ba3
JJ
1474 * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
1475 (LibbacktraceSymbolizer::Demangle): New declaration.
1476 * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
1477 (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
1478 method if possible.
1479 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
1480 "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
1481 (struct CplusV3DemangleData): New type.
1482 (CplusV3DemangleCallback, CplusV3Demangle): New functions.
1483 (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
1484 SymbolizeDataCallback): Use CplusV3Demangle.
1485 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
1486 -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
1487 * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
1488 cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
1489 cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
1490 cplus_demangle_init_info, cplus_demangle_mangled_name,
1491 cplus_demangle_operators, cplus_demangle_print,
1492 cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
1493 cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
1494 is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
1495 Define.
1496 (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
1497 (memcmp, strncmp): Redefine.
1498 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
1499 ../../libiberty/cp-demangle.c.
1500 * libbacktrace/bridge.cc (__asan_internal_memcmp,
1501 __asan_internal_strncmp): New functions.
1502 * sanitizer_common/Makefile.in: Regenerated.
1503 * libbacktrace/Makefile.in: Regenerated.
1504 * configure: Regenerated.
1505 * configure.ac: Regenerated.
1506 * config.h.in: Regenerated.
1507
2613419a
JJ
1508 * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
1509 -isystem $(top_srcdir)/include/system.
1510 * sanitizer_common/Makefile.in: Regenerated.
1511 * include/system/linux/aio_abi.h: New header.
1512 * include/system/linux/mroute.h: New header.
1513 * include/system/linux/mroute6.h: New header.
1514 * include/system/linux/perf_event.h: New header.
1515 * include/system/linux/types.h: New header.
c915a581
JJ
1516
1517 PR sanitizer/59136
1518 * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
1519 LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
1520 and -I/-include flags.
1521 * lsan/Makefile.am (liblsan_la_LIBADD): Add
1522 libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
1523 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1524 * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
1525 * asan/Makefile.am (libasan_la_LIBADD): Likewise.
1526 * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
1527 libbacktrace.
1528 * README.gcc: Document that also lsan and ubsan are
1529 maintained in compiler-rt upstream.
1530 * libbacktrace/Makefile.am: New file.
1531 * libbacktrace/backtrace-rename.h: New file.
1532 * libbacktrace/backtrace-supported.h.in: New file.
1533 * libbacktrace/bridge.cc: New file.
1534 * configure.ac: Add tests needed for libbacktrace build
1535 within libsanitizer.
1536 * sanitizer_common/Makefile.in: Regenerated.
1537 * lsan/Makefile.in: Regenerated.
1538 * tsan/Makefile.in: Regenerated.
1539 * ubsan/Makefile.in: Regenerated.
1540 * libbacktrace/Makefile.in: Generated.
1541 * config.h.in: Regenerated.
1542 * configure: Regenerated.
1543 * Makefile.in: Regenerated.
1544 * interception/Makefile.in: Regenerated.
1545 * asan/Makefile.in: Regenerated.
1546 * aclocal.m4: Regenerated.
1547
409f3b46
KS
15482013-12-19 Kostya Serebryany <kcc@google.com>
1549
92a285c1 1550 * sanitizer_common/sanitizer_platform_limits_posix.cc:
409f3b46
KS
1551 workaround for missing definition of EOWNERDEAD, backport
1552 from upstream r196779.
1553
079db27b
L
15542013-12-06 H.J. Lu <hongjiu.lu@intel.com>
1555
1556 * sanitizer_common/sanitizer_platform_limits_posix.h
1557 (__sanitizer_shmid_ds): Use u64 on time fields for x32.
1558 (__sanitizer_clock_t): Use long long for x32.
1559
7efb96c0
L
15602013-12-06 H.J. Lu <hongjiu.lu@intel.com>
1561
1562 * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
1563 <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
1564 (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
1565
df9d1700
L
15662013-12-05 H.J. Lu <hongjiu.lu@intel.com>
1567
1568 * configure.ac (link_sanitizer_common): Add -lm.
1569 * configure: Regenerated.
1570
c4c16f74
KS
15712013-12-05 Kostya Serebryany <kcc@google.com>
1572
1573 * All source files: Merge from upstream r196489.
1574 * merge.sh: Add *.S to the list of merged files.
1575
666ee4d6
YG
15762013-12-05 Yury Gribov <y.gribov@samsung.com>
1577
1578 PR sanitizer/59368
1579 * Makefile.am (gcc_version): Added gcc_version.
1580 * Makefile.in: Regenerate.
1581
df77f0e4
KS
15822013-12-05 Kostya Serebryany <kcc@google.com>
1583
1584 * All source files: Merge from upstream r196090.
1585 * tsan/Makefile.am (tsan_files): Added new files.
1586 * tsan/Makefile.in: Regenerate.
1587 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
1588 * sanitizer_common/Makefile.in: Regenerate.
1589 * lsan/Makefile.am (lsan_files): Added new files.
1590 * lsan/Makefile.in: Regenerate.
1591
35814b03
JJ
15922013-11-29 Jakub Jelinek <jakub@redhat.com>
1593 Yury Gribov <y.gribov@samsung.com>
1594
1595 PR sanitizer/59063
1596 * libsanitizer.spec.in: Add spec file to hold link flags for
1597 various sanitizer libs.
1598 * configure.ac: Check whether clock_* routines come from librt.
1599 * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
1600 configure.ac.
1601 * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
1602 * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
1603 * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
1604 * asan/Makefile.in: Regenerate.
1605 * interception/Makefile.in: Regenerate.
1606 * lsan/Makefile.in: Regenerate.
1607 * sanitizer_common/Makefile.in: Regenerate.
1608 * tsan/Makefile.in: Regenerate.
1609 * ubsan/Makefile.in: Regenerate.
1610 * Makefile.in: Regenerate.
1611 * configure: Regenerate.
1612
049558ed
JJ
16132013-11-28 Jakub Jelinek <jakub@redhat.com>
1614 Yury Gribov <y.gribov@samsung.com>
1615
1616 PR sanitizer/59106
1617 * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
1618 don't need it.
1619 * ubsan/Makefile.in: Regenerated.
1620
9065ada9
JJ
16212013-11-22 Jakub Jelinek <jakub@redhat.com>
1622
1623 PR sanitizer/59061
1624 * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
1625 * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
1626 * configure: Regenerated.
1627 * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
1628 liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
1629 * lsan/Makefile.in: Regenerated.
1630
486294d4
MS
16312013-11-22 Mike Stump <mikestump@comcast.net>
1632
1633 * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
1634 change from upstream to fix build.
1635
2621c860
YG
16362013-11-18 Yury Gribov <y.gribov@samsung.com>
1637
1638 PR sanitizer/59106
1639 * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
1640 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
1641 * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
1642 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
1643 * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
1644 * asan/Makefile.in: Regenerate.
1645 * interception/Makefile.in: Regenerate.
1646 * tsan/Makefile.in: Regenerate.
1647 * lsan/Makefile.in: Regenerate.
1648 * sanitizer_common/Makefile.in: Regenerate.
1649
c8e1377b
KS
16502013-11-15 Kostya Serebryany <kcc@google.com>
1651
1652 PR sanitizer/58994
92a285c1
ML
1653 Backport from upstream revision 194573
1654 * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
1655 back to the original functions in the common libsanitizer
1656 interceptors and the __cxa_atexit() interceptor on Darwin.
c8e1377b 1657
c3d77f3a
PB
16582013-11-13 Peter Bergner <bergner@vnet.ibm.com>
1659
1660 PR sanitizer/59009
1661 * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
1662 ifdef out more source.
1663
d00106f4
JJ
16642013-11-12 Jakub Jelinek <jakub@redhat.com>
1665
1666 * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
1667 ifdef out almost the whole source.
1668 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
1669
e276866f
L
16702013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1671
1672 PR sanitizer/59018
1673 * sanitizer_common/sanitizer_platform_limits_posix.cc
1674 (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
1675 defined.
1676
f5c36cfc
L
16772013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1678
1679 PR sanitizer/59018
1680 * sanitizer_common/sanitizer_platform_limits_linux.cc
1681 (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
1682 defined.
1683 * sanitizer_common/sanitizer_platform_limits_posix.h
1684 (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
1685 defined.
1686 (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
1687 is defined.
1688 (__sanitizer___kernel_gid_t): Likewise.
1689 (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
1690 is defined.
1691
e45de14e
L
16922013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1693
1694 PR sanitizer/59018
1695 * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
1696 2 64-bit integers to save and restore fn and arg. Properly load
1697 newtls/child_tidptr into r8/r10.
1698
38693e39
L
16992013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1700
1701 PR sanitizer/59018
1702 * sanitizer_common/sanitizer_linux.cc (internal_mmap,
1703 internal_munmap, internal_open, internal_read, internal_write,
1704 internal_stat, internal_lstat, internal_fstat, internal_readlink,
1705 internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
1706 BlockingMutex::Unlock, internal_ptrace, internal_getdents,
1707 internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
1708
ef1b3fda
KS
17092013-11-04 Kostya Serebryany <kcc@google.com>
1710
1711 * All source files: Merge from upstream r191666.
1712 * merge.sh: Added lsan.
1713 * configure.ac (AC_CONFIG_FILES): Added lsan.
1714 * Makefile.am (SUBDIRS): Added lsan.
1715 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
1716 * asan/Makefile.am (asan_files): Added new files.
1717 (libasan_la_LIBADD): Added a dependency on lsan.
1718 * lsan/Makefile.am: New file.
1719 * asan/Makefile.in: Regenerate.
1720 * lsan/Makefile.in: Regenerate.
1721 * Makefile.in: Regenerate.
1722 * configure: Regenerate.
1723 * sanitizer_common/Makefile.in: Regenerate.
1724
3cbe17f7
AM
17252013-09-20 Alan Modra <amodra@gmail.com>
1726
1727 * configure: Regenerate.
1728
0cea211e
IS
17292013-09-01 Iain Sandoe <iain@codesourcery.com>
1730
1731 * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
1732 libinterception.la for Darwin.
1733 * ubsan/Makefile.in: Regenerate.
1734
de5a5fa1
MP
17352013-08-30 Jakub Jelinek <jakub@redhat.com>
1736
1737 * Makefile.am (SUBDIRS): Add ubsan.
1738 * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
1739 * merge.sh: Merge ubsan.
1740 * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
1741 * sanitizer_common/sanitizer_printf.cc: Likewise.
1742 * sanitizer_common/sanitizer_common.h: Likewise.
1743 * ubsan: New directory. Import ubsan runtime from llvm.
1744
634cfa2b
CL
17452013-06-03 Christophe Lyon <christophe.lyon@linaro.org>
1746
1747 * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
1748 Cherry pick upstream r182922.
1749
8a5800b8
CL
17502013-05-07 Christophe Lyon <christophe.lyon@linaro.org>
1751
1752 * configure.tgt: Add ARM pattern.
1753
a745e444 17542013-03-22 Jakub Jelinek <jakub@redhat.com>
1868beee
JJ
1755
1756 PR other/43620
1757 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
1758 * Makefile.in: Regenerated.
1759 * asan/Makefile.in: Regenerated.
1760 * interception/Makefile.in: Regenerated.
1761 * sanitizer_common/Makefile.in: Regenerated.
1762 * tsan/Makefile.in: Regenerated.
1763
4c376126
JJ
17642013-02-28 Jakub Jelinek <jakub@redhat.com>
1765
1766 * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
1767 * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
1768 0x4fffffffffULL.
1769
7d613735
JJ
17702013-02-22 Jakub Jelinek <jakub@redhat.com>
1771
1772 PR sanitizer/56393
1773 * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
1774 libasan_preinit.o.
1775 (libasan_preinit.o): Depend on asan_preinit.o.
1776 * asan/Makefile.in: Regenerated.
1777 * asan/asan_preinit.cc: New file, synced from upstream.
1778 * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
1779
ecdbd01a 17802013-02-21 Jack Howarth <howarth@bromo.med.uc.edu>
304886c5
JH
1781
1782 * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
1783 dynamic/asan_interceptors_dynamic.cc.
1784 * asan/Makefile.in: Regenerated.
1785 * merge.sh: Remove merge of deprecated lib/asan/dynamic.
1786
4be7da26
JJ
17872013-02-21 Jakub Jelinek <jakub@redhat.com>
1788
1789 * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
1790 defined. Add used attribute.
1791
7df59255
KS
17922013-02-21 Kostya Serebryany <kcc@google.com>
1793
1794 * All source files: Merge from upstream r175733.
1795 * sanitizer_common/Makefile.am: Added a new file.
1796 * sanitizer_common/Makefile.in: Regenerated.
1797
8afd2ed7
L
17982013-02-14 H.J. Lu <hongjiu.lu@intel.com>
1799
1800 PR bootstrap/56327
1801 * interception/interception.h (OFF_T): Merged from upstream
1802 r175140.
1803
6422242b
JJ
18042013-02-13 Jakub Jelinek <jakub@redhat.com>
1805
1806 * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
1807
b4ab7d34
KS
18082013-02-13 Kostya Serebryany <kcc@google.com>
1809
8afd2ed7 1810 PR sanitizer/56128
b4ab7d34
KS
1811 * All source files: Merge from upstream r175049.
1812 * interception/Makefile.am: added include path.
1813 * interception/Makefile.in: Regenerated.
1814
34dc17ed
JH
18152013-02-11 Jack Howarth <howarth@bromo.med.uc.edu>
1816
1817 * configure.tgt: Disable build on darwin9 and earlier.
1818
2660d12d
KS
18192013-01-23 Kostya Serebryany <kcc@google.com>
1820
8afd2ed7 1821 PR sanitizer/55989
2660d12d
KS
1822 * All source files: Merge from upstream r173241.
1823 * merge.sh: Support merging .inc files.
1824
19006c45
JJ
18252013-01-16 Jakub Jelinek <jakub@redhat.com>
1826
1827 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
1828 -Wno-c99-extensions.
1829 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
1830 * asan/Makefile.am (AM_CXXFLAGS): Likewise.
1831 * sanitizer_common/Makefile.in: Regenerated.
1832 * interception/Makefile.in: Regenerated.
1833 * asan/Makefile.in: Regenerated.
1834
edadb734
WM
18352013-01-10 Wei Mi <wmi@google.com>
1836
1837 PR sanitizer/55488
1838 * tsan/Makefile.am: Add tsan_rtl_amd64.S.
1839 * tsan/Makefile.in: Regenerated.
1840 * tsan/tsan_rtl.h: Enable HACKY_CALL.
1841
e9772e16
KS
18422013-01-10 Kostya Serebryany <kcc@google.com>
1843
1844 * All source files: Merge from upstream r171973.
1845 * sanitizer_common/Makefile.am: Added new files.
1846 * asan/Makefile.am: Likewise.
1847 * tsan/Makefile.am: Likewise.
1848 * sanitizer_common/Makefile.in: Regenerated.
1849 * asan/Makefile.in: Likewise.
1850 * tsan/Makefile.in: Likewise.
1851
7f7162cf
L
18522013-01-07 H.J. Lu <hongjiu.lu@intel.com>
1853
1854 * asan/Makefile.am (libasan_la_LIBADD): Replace
1855 LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
1856 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1857 * Makefile.in: Regenerated.
1858 * configure: Likewise.
1859 * asan/Makefile.in: Likewise.
1860 * interception/Makefile.in: Likewise.
1861 * sanitizer_common/Makefile.in: Likewise.
1862 * tsan/Makefile.in: Likewise.
1863
b488a2c7
L
18642012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1865
1866 * Makefile.am (AM_MAKEFLAGS): Restored.
1867 * interception/Makefile.am: Likewise.
1868 * sanitizer_common/Makefile.am: Likewise.
1869 * tsan/Makefile.am: Likewise.
1870 * Makefile.in: Regenerated.
1871 * asan/Makefile.in: Likewise.
1872 * interception/Makefile.in: Likewise.
1873 * sanitizer_common/Makefile.in: Likewise.
1874 * tsan/Makefile.in: Likewise.
1875
e8adb21b
L
18762012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1877
1878 * Makefile.am (MAKEOVERRIDES): Restored.
1879 * asan/Makefile.am: Likewise.
1880 * interception/Makefile.am: Likewise.
1881 * sanitizer_common/Makefile.am: Likewise.
1882 * tsan/Makefile.am: Likewise.
1883 * Makefile.in: Regenerated.
1884 * asan/Makefile.in: Likewise.
1885 * interception/Makefile.in: Likewise.
1886 * sanitizer_common/Makefile.in: Likewise.
1887 * tsan/Makefile.in: Likewise.
1888
e1e953d9
L
18892012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1890
1891 * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
1892 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1893 * Makefile.in: Regenerated.
1894 * configure: Likewise.
1895 * asan/Makefile.in: Likewise.
1896 * interception/Makefile.in: Likewise.
1897 * sanitizer_common/Makefile.in: Likewise.
1898 * tsan/Makefile.in: Likewise.
1899
a62d3903
L
19002012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1901
1902 * Makefile.am (AM_MAKEFLAGS): Removed.
1903 (MAKEOVERRIDES): Likewise.
1904 * asan/Makefile.am: Likewise.
1905 * interception/Makefile.am: Likewise.
1906 * sanitizer_common/Makefile.am: Likewise.
1907 * tsan/Makefile.am: Likewise.
1908 * Makefile.in: Regenerated.
1909 * asan/Makefile.in: Likewise.
1910 * interception/Makefile.in: Likewise.
1911 * sanitizer_common/Makefile.in: Likewise.
1912 * tsan/Makefile.in: Likewise.
1913
d10a2df2
L
19142012-12-11 H.J. Lu <hongjiu.lu@intel.com>
1915
1916 PR sanitizer/55533
1917 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
1918 * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
1919 * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
1920 (AM_MAKEFLAGS): Remove CC and CXX.
1921 * interception/Makefile.am: Likewise.
1922 * sanitizer_common/Makefile.am: Likewise.
1923 * tsan/Makefile.am: Likewise.
1924 * Makefile.in: Regenerated.
1925 * aclocal.m4: Likewise.
1926 * configure: Likewise.
1927 * asan/Makefile.in: Likewise.
1928 * interception/Makefile.in: Likewise.
1929 * sanitizer_common/Makefile.in: Likewise.
1930 * tsan/Makefile.in: Likewise.
1931
957fee09
PB
19322012-12-06 Peter Bergner <bergner@vnet.ibm.com>
1933
1934 * configure.tgt: Enable build on powerpc*-linux.
1935
ecdbd01a 19362012-12-06 Jack Howarth <howarth@bromo.med.uc.edu>
3157880f
JH
1937
1938 PR 55599/sanitizer
d10a2df2
L
1939 * configure.ac: Set enable_static=no on darwin.
1940 * configure: Regenerated.
3157880f 1941
695edbac
KS
19422012-12-06 Kostya Serebryany <kcc@google.com>
1943
1944 * All files: Merge from upstream r169392.
1945
a0408454
KS
19462012-12-05 Kostya Serebryany <kcc@google.com>
1947
1948 * All files: Merge from upstream r169371.
1949
41d37c56 19502012-12-04 Kostya Serebryany <kcc@google.com>
ecdbd01a 1951 Jack Howarth <howarth@bromo.med.uc.edu>
8c4d267c
KS
1952
1953 PR 55521/sanitizer
1954 * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
1955 * Makefile.am: Don't build interception subdir when
1956 USING_MAC_INTERPOSE defined.
1957 * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
1958 -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
1959 Compile asan_interceptors_dynamic.cc but not libinterception
1960 when USING_MAC_INTERPOSE defined.
1961 * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
1962 * configure: Regenerated.
1963 * Makefile.in: Likewise.
1964 * asan/Makefile.in: Likewise.
1965 * interception/Makefile.in: Likewise.
1966 * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
1967 * asan/asan_mac.cc: Likewise.
1968 * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
1969 and use MISSING_BLOCKS_SUPPORT.
1970 * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
1971 * interception/mach_override/LICENSE.txt: Remove unused file.
1972 * interception/mach_override/mach_override.c: Likewise.
1973 * interception/mach_override/mach_override.h: Likewise.
1974 * interception/mach_override: Remove unused directory.
1975
a23ed040
L
19762012-11-28 H.J. Lu <hongjiu.lu@intel.com>
1977
1978 * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
1979 * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
1980 * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
1981 files.
1982 (AM_MAKEFLAGS): Restore CC and CXX.
1983 * interception/Makefile.am: Likewise.
1984 * sanitizer_common/Makefile.am: Likewise.
1985 * tsan/Makefile.am: Likewise.
1986 * Makefile.in: Regenerated.
1987 * aclocal.m4: Likewise.
1988 * configure: Likewise.
1989 * asan/Makefile.in: Likewise.
1990 * interception/Makefile.in: Likewise.
1991 * sanitizer_common/Makefile.in: Likewise.
1992 * tsan/Makefile.in: Likewise.
1993
2ed685b8
L
19942012-11-28 H.J. Lu <hongjiu.lu@intel.com>
1995
1996 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
1997 * configure.ac (ACX_NONCANONICAL_TARGET): New.
1998 * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
1999 files.
2000 (AM_MAKEFLAGS): Remove CC and CXX.
2001 * interception/Makefile.am: Likewise.
2002 * sanitizer_common/Makefile.am: Likewise.
2003 * tsan/Makefile.am: Likewise.
2004 * Makefile.in: Regenerated.
2005 * aclocal.m4: Likewise.
2006 * configure: Likewise.
2007 * asan/Makefile.in: Likewise.
2008 * interception/Makefile.in: Likewise.
2009 * sanitizer_common/Makefile.in: Likewise.
2010 * tsan/Makefile.in: Likewise.
2011
4ba5ca46
KS
20122012-11-27 Kostya Serebryany <kcc@google.com>
2013
2014 * All files: Merge from upstream r168699.
2015
41d37c56 20162012-11-24 Kostya Serebryany <kcc@google.com>
ecdbd01a 2017 Jack Howarth <howarth@bromo.med.uc.edu>
f246eadc
JH
2018
2019 * interception/mach_override/mach_override.c: Migrate from llvm.
2020 * interception/mach_override/mach_override.h: Likewise.
2021 * interception/mach_override/LICENSE.txt: Likewise.
2022 * configure.tgt: Add darwin to supported targets.
2023 * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
2024 * interception/Makefile.am: Compile mach_override.c when
2025 USING_MACH_OVERRIDE defined.
2026 * configure: Regenerated.
2027 * interception/Makefile.in: Likewise.
2028
9cb5411c
L
20292012-11-23 H.J. Lu <hongjiu.lu@intel.com>
2030
2031 PR sanitizer/55450
2032 * tsan/Makefile.am (gcc_version): New.
2033 * tsan/Makefile.in: Regenerated.
2034
3409d40e 20352012-11-23 Kostya Serebryany <kcc@google.com>
9cb5411c 2036
e297eb60
KS
2037 * merge.sh: Support tsan, support added/removed files.
2038 * tsan/Makefile.am: Remove tsan_printf.cc.
2039 * tsan/Makefile.in: Regenerated.
2040 * other files: Merge from upstream r168514.
2041
20422012-11-23 Kostya Serebryany <kcc@google.com>
9cb5411c 2043
e297eb60 2044 * merge.sh: New file.
3409d40e 2045
64548f3b
JJ
20462012-11-23 Jakub Jelinek <jakub@redhat.com>
2047
2048 * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
2049 * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
2050 automake conditional instead of !MULTISUBDIR32.
2051 * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
2052 for 64-bit multilib.
2053 * configure.ac: Check for void * size, source in configure.tgt,
2054 define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
2055 * configure: Regenerated.
2056 * Makefile.in: Regenerated.
2057 * tsan/Makefile.in: Regenerated.
2058
cd0be65c
WM
20592012-11-22 Wei Mi <wmi@google.com>
2060
2061 * tsan: New directory. Import tsan runtime from llvm.
2062 * configure.ac: Add 64 bits tsan build.
2063 * Makefile.am: Likewise.
2064 * configure: Regenerated.
2065 * Makefile.in: Likewise.
2066
5cba83a8
KS
20672012-11-21 Kostya Serebryany <kcc@google.com>
2068
9cb5411c 2069 * README.gcc: Extend the README.gcc with mode details.
5cba83a8 2070
b014e124
KS
20712012-11-20 Konstantin Serebryany <konstantin.s.serebryany@gmail.com>
2072
2073 * sanitizer_common/sanitizer_linux.cc
2074 (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
2075 (internal_mmap): Use it.
2076 (internal_filesize): Likewise.
2077
2b723e21
TT
20782012-11-16 Tom Tromey <tromey@redhat.com>
2079
2080 * configure.ac: Invoke AM_MAINTAINER_MODE.
2081 * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
2082 interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
2083
d1caed14
L
20842012-11-16 H.J. Lu <hongjiu.lu@intel.com>
2085
2086 PR other/55333
2087 * include/sanitizer/common_interface_defs.h (uhwptr): New type
2088 for hardware pointer.
2089 * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
2090 Replace uptr with uhwptr for stack unwind.
2091
f3754998
DS
20922012-11-16 Dodji Seketeli <dodji@redhat.com>
2093
2094 * configure.tgt: Enable build on sparc linux.
2095
f64bcb29
L
20962012-11-15 H.J. Lu <hongjiu.lu@intel.com>
2097
2098 * configure.ac: Properly set MULTISUBDIR.
2099 * asan/Makefile.am (gcc_version): New.
2100 * interception/Makefile.am (gcc_version): Likewise.
2101 * sanitizer_common/Makefile.am (gcc_version): Likewise.
2102 * configure: Regenerated.
2103 * asan/Makefile.in: Likewise.
2104 * interception/Makefile.in: Likewise.
2105 * sanitizer_common/Makefile.in: Likewise.
2106
2a6346c4
L
21072012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2108
2109 PR other/55291
2110 * configure.ac (--enable-version-specific-runtime-libs): New option.
2111 (AC_CANONICAL_SYSTEM): New.
2112 (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
2113 (toolexecdir): Support multilib.
2114 (toolexeclibdir): Likewise.
2115 (multilib_arg): New.
2116 * Makefile.in: Regenerated.
2117 * aclocal.m4: Likewise.
2118 * configure: Likewise.
2119 * asan/Makefile.in: Likewise.
2120 * interception/Makefile.in: Likewise.
2121 * sanitizer_common/Makefile.in: Likewise.
2122
4a56a7be
L
21232012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2124
2125 PR other/55292
2126 Backport from upstream revision 167883
2127 * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
2128 __x86_64__ instead of __WORDSIZE.
2129 (internal_filesize): Likwise.
2130
4053ca2c
L
21312012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2132
2133 * configure.ac (AC_CONFIG_AUX_DIR): Removed.
2134 * Makefile.in: Regenerated.
2135 * configure: Likewise.
2136
a2479b3d
L
21372012-11-13 H.J. Lu <hongjiu.lu@intel.com>
2138
2139 PR other/55304
2140 * acinclude.m4: New file.
2141 * Makefile.am (ACLOCAL_AMFLAGS): New.
2142 * configure.ac (AC_PREREQ): Set to 2.64.
2143 (AC_CONFIG_AUX_DIR): Set to "..".
2144 * Makefile.in: Regenerated.
2145 * aclocal.m4: Likewise.
2146 * configure: Likewise.
2147 * asan/Makefile.in: Likewise.
2148 * interception/Makefile.in: Likewise.
2149 * sanitizer_common/Makefile.in: Likewise.
2150
2151 * config.guess: Removed.
2152 * config.sub: Likewise.
2153 * depcomp: Likewise.
2154 * install-sh: Likewise.
2155 * ltmain.sh: Likewise.
2156 * missing: Likewise.
2157
93bf5390
RH
21582012-11-13 Richard Henderson <rth@redhat.com>
2159
2160 * configure.tgt: New file.
2161
d2860e72
DM
21622012-11-12 David S. Miller <davem@davemloft.net>
2163
2164 * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
2165
f35db108
WM
21662012-10-29 Wei Mi <wmi@google.com>
2167
2168 Initial checkin: migrate asan runtime from llvm.