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