]> git.ipfire.org Git - thirdparty/gcc.git/blame - libsanitizer/ChangeLog
re PR target/81084 (powerpcspe port full of confusing configury / command-line option...
[thirdparty/gcc.git] / libsanitizer / ChangeLog
CommitLineData
19ddb884
BS
12018-04-18 Bill Seurer <seurer@linux.vnet.ibm.com>
2
3 PR sanitizer/85389
4 * asan/asan_allocator.h (kAllocatorSpace): For __powerpc64__ change
5 from 0xa0000000000ULL to ~(uptr)0.
6
359ea407
JJ
72018-03-19 Jakub Jelinek <jakub@redhat.com>
8
9 PR sanitizer/84761
10 * sanitizer_common/sanitizer_linux_libcdep.cc (__GLIBC_PREREQ):
11 Define if not defined.
12 (DL_INTERNAL_FUNCTION): Don't define.
13 (InitTlsSize): For __i386__ if not compiled against glibc 2.27+
14 determine at runtime whether to use regparm(3), stdcall calling
15 convention for older glibcs or normal calling convention for
16 newer glibcs for call to _dl_get_tls_static_info.
17
1422855a
SB
182018-03-14 Segher Boessenkool <segher@kernel.crashing.org>
19
20 * sanitizer_common/sanitizer_stacktrace.cc
21 (BufferedStackTrace::FastUnwindStack): Use the correct frame offset
22 for PowerPC SYSV ABI.
23
14e335ed
IT
242018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
25
26 PR target/84148
27 * configure: Regenerate.
28
4c4f3c3f
ML
292018-02-05 Martin Liska <mliska@suse.cz>
30
31 * asan/asan_flags.inc: Cherry-pick upstream r323995.
32 * asan/asan_report.cc (CheckForInvalidPointerPair):
33 Cherry-pick upstream r323995.
34
2d509539
RO
352018-01-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
36
37 PR sanitizer/82825
38 * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
9dfc6e83 39 r324284.
2d509539 40
1f7273e5
RO
412018-01-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
42
43 PR sanitizer/82824
44 * lsan/lsan_common_mac.cc: Cherry-pick upstream r322437.
45
05abad4c
ML
462017-12-05 Martin Liska <mliska@suse.cz>
47 Jakub Jelinek <jakub@redhat.com>
48
49 * asan/asan_descriptions.cc: Cherry-pick upstream r319668.
50 * asan/asan_descriptions.h: Likewise.
51 * asan/asan_report.cc: Likewise.
52 * asan/asan_thread.cc: Likewise.
53 * asan/asan_thread.h: Likewise.
54
9069eb28
IT
552017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
56
57 * acinclude.m4: Add enable.m4 and cet.m4.
58 * Makefile.in: Regenerate.
59 * asan/Makefile.am: Update AM_CXXFLAGS.
60 * asan/Makefile.in: Regenerate.
61 * configure: Likewise.
62 * configure.ac: Set CET_FLAGS. Update EXTRA_CFLAGS,
63 EXTRA_CXXFLAGS, EXTRA_ASFLAGS.
64 * interception/Makefile.am: Update AM_CXXFLAGS.
65 * interception/Makefile.in: Regenerate.
66 * libbacktrace/Makefile.am: Update AM_CFLAGS, AM_CXXFLAGS.
67 * libbacktrace/Makefile.in: Regenerate.
68 * lsan/Makefile.am: Update AM_CXXFLAGS.
69 * lsan/Makefile.in: Regenerate.
70 * sanitizer_common/Makefile.am: Update AM_CXXFLAGS,
71 AM_CCASFLAGS.
72 * sanitizer_common/sanitizer_linux_x86_64.S: Include cet.h.
73 Add _CET_ENDBR macro.
74 * sanitizer_common/Makefile.in: Regenerate.
75 * tsan/Makefile.am: Update AM_CXXFLAGS.
76 * tsan/Makefile.in: Regenerate.
77 * tsan/tsan_rtl_amd64.S Include cet.h. Add _CET_ENDBR macro.
78 * ubsan/Makefile.am: Update AM_CXXFLAGS.
79 * ubsan/Makefile.in: Regenerate.
80
5925290f
JJ
812017-11-08 Jakub Jelinek <jakub@redhat.com>
82
83 PR bootstrap/82670
84 * ubsan/Makefile.am (ubsan_files): Remove ubsan_init_standalone.cc
85 and ubsan_signals_standalone.cc.
86 * ubsan/Makefile.in: Regenerated.
87
735e62b9
TV
882017-11-05 Tom de Vries <tom@codesourcery.com>
89
90 PR other/82784
91 * asan/asan_poisoning.cc (CHECK_SMALL_REGION): Remove semicolon after
92 "do {} while (0)".
93 * lsan/lsan_common.cc (LOG_POINTERS, LOG_THREADS): Same.
94
9a45ffbd
JJ
952017-10-20 Jakub Jelinek <jakub@redhat.com>
96
97 PR sanitizer/82595
98 * lsan/lsan.h (__lsan_init): Add SANITIZER_INTERFACE_ATTRIBUTE.
99 * lsan/Makefile.am (nodist_toolexeclib_HEADERS): Add
100 liblsan_preinit.o.
101 (lsan_files): Remove lsan_preinit.cc.
102 (liblsan_preinit.o): New rule.
103 * lsan/Makefile.in: Regenerated.
104
5d3805fc
JJ
1052017-10-19 Jakub Jelinek <jakub@redhat.com>
106
107 * All source files: Merge from upstream 315899.
108 * asan/Makefile.am (nodist_saninclude_HEADERS): Add
109 include/sanitizer/tsan_interface.h.
110 * asan/libtool-version: Bump the libasan SONAME.
111 * lsan/Makefile.am (sanitizer_lsan_files): Add lsan_common_mac.cc.
112 (lsan_files): Add lsan_linux.cc, lsan_mac.cc and lsan_malloc_mac.cc.
113 * sanitizer_common/Makefile.am (sanitizer_common_files): Add
114 sancov_flags.cc, sanitizer_allocator_checks.cc,
115 sanitizer_coverage_libcdep_new.cc, sanitizer_errno.cc,
116 sanitizer_file.cc, sanitizer_mac_libcdep.cc and
117 sanitizer_stoptheworld_mac.cc. Remove sanitizer_coverage_libcdep.cc
118 and sanitizer_coverage_mapping_libcdep.cc.
119 * tsan/Makefile.am (tsan_files): Add tsan_external.cc.
120 * ubsan/Makefile.am (DEFS): Add -DUBSAN_CAN_USE_CXXABI=1.
121 (ubsan_files): Add ubsan_init_standalone.cc and
122 ubsan_signals_standalone.cc.
123 * ubsan/libtool-version: Bump the libubsan SONAME.
124 * asan/Makefile.in: Regenerate.
125 * lsan/Makefile.in: Regenerate.
126 * sanitizer_common/Makefile.in: Regenerate.
127 * tsan/Makefile.in: Regenerate.
128 * ubsan/Makefile.in: Regenerate.
129
bf4df9e6
L
1302017-10-05 H.J. Lu <hongjiu.lu@intel.com>
131
132 PR sanitizer/82379
133 * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Set
134 to sanitizer_linux_x86_64.lo if __x86_64__ is defined by $CC.
135
d1453bec
JJ
1362017-10-02 Jakub Jelinek <jakub@redhat.com>
137
138 * libbacktrace/backtrace-rename.h (backtrace_uncompress_zdebug):
139 Define.
140
a5320f3c
JJ
1412017-08-07 Jakub Jelinek <jakub@redhat.com>
142
143 * include/system/sys/ptrace.h: New file.
144
c9b39a49
JJ
1452017-07-28 Jakub Jelinek <jakub@redhat.com>
146
147 PR sanitizer/80998
148 * ubsan/ubsan_handlers.cc: Cherry-pick upstream r304461.
149 * ubsan/ubsan_checks.inc: Likewise.
150 * ubsan/ubsan_handlers.h: Likewise.
151
144e36a7
JJ
1522017-07-14 Jakub Jelinek <jakub@redhat.com>
153
154 PR sanitizer/81066
155 * sanitizer_common/sanitizer_linux.h: Cherry-pick upstream r307969.
156 * sanitizer_common/sanitizer_linux.cc: Likewise.
157 * sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: Likewise.
158 * tsan/tsan_platform_linux.cc: Likewise.
159
d9f8c5af
ML
1602017-04-06 Martin Liska <mliska@suse.cz>
161
162 PR sanitizer/80166
163 * sanitizer_common/sanitizer_common_interceptors.inc (INTERCEPTOR):
164 Cherry-pick upstream r299036.
165
fd6cba40
JJ
1662017-03-22 Jakub Jelinek <jakub@redhat.com>
167
168 PR sanitizer/78158
169 * tsan/tsan_interface_atomic.cc: Cherry-pick upstream r298378.
170
9b9ad360
AT
1712017-02-16 Andreas Tobler <andreast@gcc.gnu.org>
172
173 PR sanitizer/79562
174 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry-pick
175 upstream r294806.
176
1509524b
JJ
1772017-02-11 Jakub Jelinek <jakub@redhat.com>
178
179 PR sanitizer/79341
180 * configure.tgt (s390*-*-linux*): Don't disable libsanitizer on
181 s390-linux 31-bit.
182 * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
183 r294793.
184 * sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
185 upstream r294790.
186 * sanitizer_common/sanitizer_linux_s390.cc: Cherry-pick upstream
187 r294799.
188
778e0ac3
MO
1892017-02-03 Maxim Ostapenko <m.ostapenko@samsung.com>
190
191 PR sanitizer/78663
192 * sanitizer_common/sanitizer_mac.cc: Cherry-pick upstream r293992.
193 * sanitizer_common/sanitizer_platform_interceptors.h: Likewise.
194
4997a71d
JJ
1952017-01-31 Jakub Jelinek <jakub@redhat.com>
196
197 * configure.tgt: Enable asan and ubsan on 64-bit s390*-*-linux*.
198
86b2a558
JJ
1992017-01-24 Jakub Jelinek <jakub@redhat.com>
200
c831801d
JJ
201 * configure.tgt: Enable tsan and lsan on powerpc64{,le}-*-linux*.
202
86b2a558
JJ
203 PR sanitizer/79168
204 * merge.sh (change_comment_headers): Don't remove 2nd and 3rd line
205 if the 3rd line doesn't contain 'The LLVM Compiler Infrastructure'
206 text.
207 * sanitizer_common/sanitizer_linux_mips64.S: Regenerated.
208 * sanitizer_common/sanitizer_linux_x86_64.S: Likewise.
209 * tsan/tsan_ppc_regs.h: Likewise.
210 * tsan/tsan_rtl_aarch64.S: Likewise.
211 * tsan/tsan_rtl_mips64.S: Likewise.
212 * tsan/tsan_rtl_ppc64.S: Likewise.
213
73aa401e
JJ
2142017-01-21 Jakub Jelinek <jakub@redhat.com>
215
216 PR other/79046
217 * interception/Makefile.am (gcc_version): Use @get_gcc_base_ver@
218 instead of cat to get version from BASE-VER file.
219 * asan/Makefile.am (gcc_version): Likewise.
220 * ubsan/Makefile.am (gcc_version): Likewise.
221 * sanitizer_common/Makefile.am (gcc_version): Likewise.
222 * lsan/Makefile.am (gcc_version): Likewise.
223 * tsan/Makefile.am (gcc_version): Likewise.
224 * interception/Makefile.in: Regenerated.
225 * asan/Makefile.in: Regenerated.
226 * ubsan/Makefile.in: Regenerated.
227 * sanitizer_common/Makefile.in: Regenerated.
228 * lsan/Makefile.in: Regenerated.
229 * tsan/Makefile.in: Regenerated.
230
3c36aa6b
JJ
2312017-01-17 Jakub Jelinek <jakub@redhat.com>
232
233 PR other/79046
234 * configure.ac: Add GCC_BASE_VER.
235 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
236 get version from BASE-VER file.
237 * libbacktrace/Makefile.in: Regenerated.
238 * interception/Makefile.in: Regenerated.
239 * asan/Makefile.in: Regenerated.
240 * ubsan/Makefile.in: Regenerated.
241 * configure: Regenerated.
242 * sanitizer_common/Makefile.in: Regenerated.
243 * lsan/Makefile.in: Regenerated.
244 * Makefile.in: Regenerated.
245 * tsan/Makefile.in: Regenerated.
246
942136a4
JC
2472017-01-10 James Clarke <jrtc27@jrtc27.com>
248
249 PR sanitizer/78992
250 * sanitizer_common/sanitizer_platform_limits_posix.h
251 (struct __sanitizer_sigaction): Cherry-pick upstream r291561.
252
11bbe995
MO
2532016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
254
255 * LOCAL_PATCHES: Add revision.
256
d61ed91e
MO
2572016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
258
259 PR sanitizer/78532
260 * sanitizer_common/sanitizer_platform_limits_posix.h
261 (__sanitizer_sigaction): Adjust for sparc targets and various Glibc
262 versions.
263
f4214e23
MT
2642016-11-29 Markus Trippelsdorf <markus@trippelsdorf.de>
265
266 * LOCAL_PATCHES: Remove r242480.
267
00212843
RO
2682016-11-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
269
270 * LOCAL_PATCHES: Add revision.
271
97448adf
RO
2722016-11-20 Jack Howarth <howarth.at.gcc@gmail.com>
273
274 PR sanitizer/78267
275 * sanitizer_common/sanitizer_mac.cc: Include <os/trace.h> only if
276 compiler supports blocks extension.
277
61a58d07
MT
2782016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
279
280 * LOCAL_PATCHES: Add revision.
281
8c32ae0e
MT
2822016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
283
284 PR sanitizer/78294
285 * tsan/tsan_rtl.cc: Add missing attribute.
286
949cc52d
MO
2872016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
288
289 * LOCAL_PATCHES: New file.
290
511c8687
MO
2912016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
292
293 PR sanitizer/78307
294 * ubsan/ubsan_handlers.cc (__ubsan_handle_cfi_bad_icall): New function.
295 ( __ubsan_handle_cfi_bad_icall_abort): Likewise.
296 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): New type.
297 * ubsan/ubsan_handlers_cxx.cc (__ubsan_handle_cfi_bad_type): New
298 function.
299 (__ubsan_handle_cfi_bad_type_abort): Likewise.
300 * ubsan/ubsan_handlers_cxx.h (struct CFIBadTypeData): New type.
301 (__ubsan_handle_cfi_bad_type): Export function.
302 (__ubsan_handle_cfi_bad_type_abort): Likewise.
303 * HOWTO_MERGE: Update documentation.
304
84c1b9d3
MK
3052016-11-15 Matthias Klose <doko@ubuntu.com>
306
307 * configure: Regenerate.
308
8f16b6ca
MO
3092016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
310
311 * asan/asan_globals.cc (RegisterGlobal): Do not call
312 CheckODRViolationViaPoisoning.
313 (CheckODRViolationViaPoisoning): Remove.
314
789306de
MO
3152016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
316
317 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
318 compiled code with GCC when extracting the caller PC for ARM if no
319 valid frame pointer is available.
320
fe7913f6
MO
3212016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
322
323 PR sanitizer/63958
324 Reapply:
325 2014-10-14 David S. Miller <davem@davemloft.net>
326
327 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
328 Define at __kernel_time_t, as needed for sparc.
329 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
330 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
331 (__sanitizer): Define struct___old_kernel_stat_sz,
332 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
333 (__sanitizer_ipc_perm): Adjust for sparc targets.
334 (__sanitizer_shmid_ds): Likewsie.
335 (__sanitizer_sigaction): Likewise.
336 (IOC_SIZE): Likewsie.
337
10189819
MO
3382016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
339
340 * All source files: Merge from upstream 285547.
341 * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): New
342 variable.
343 * configure.ac (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Handle it.
344 * asan/Makefile.am (asan_files): Add new files.
345 * asan/Makefile.in: Regenerate.
346 * ubsan/Makefile.in: Likewise.
347 * lsan/Makefile.in: Likewise.
348 * tsan/Makefile.am (tsan_files): Add new files.
349 * tsan/Makefile.in: Regenerate.
350 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
351 (EXTRA_libsanitizer_common_la_SOURCES): Define.
352 (libsanitizer_common_la_LIBADD): Likewise.
353 (libsanitizer_common_la_DEPENDENCIES): Likewise.
354 * sanitizer_common/Makefile.in: Regenerate.
355 * interception/Makefile.in: Likewise.
356 * libbacktace/Makefile.in: Likewise.
357 * Makefile.in: Likewise.
358 * configure: Likewise.
359 * merge.sh: Handle builtins/assembly.h merging.
360 * builtins/assembly.h: New file.
361 * asan/libtool-version: Bump the libasan SONAME.
362
aef6a97c
JJ
3632016-09-21 Jakub Jelinek <jakub@redhat.com>
364
365 PR sanitizer/77567
366 * asan/asan_new_delete.cc: Cherry-pick upstream r282019.
367
0ce48391
JJ
3682016-09-05 Jakub Jelinek <jakub@redhat.com>
369
370 PR sanitizer/77396
371 * asan/asan_globals.cc: Cherry-pick upstream r280657.
372
e23a7a99
JJ
3732016-08-12 Jakub Jelinek <jakub@redhat.com>
374
375 PR sanitizer/71042
376 * tsan/tsan_platform_linux.cc: Cherry-pick upstream r278292.
377 * tsan/tsan_rtl_aarch64.S: Likewise.
378
aa00995c
AM
3792016-07-23 Alan Modra <amodra@gmail.com>
380
381 Revert 2015-11-09 Alan Modra <amodra@gmail.com>
382 * configure.ac: Don't substitute OBSTACK_DEFS.
383 * asan/Makefile.am: Remove OBSTACK_DEFS from DEFS.
384 * tsan/Makefile.am: Likewise.
385 * configure: Regenerate.
386 * Makefile.in: Regenerate.
387 * asan/Makefile.in: Regenerate.
388 * interception/Makefile.in: Regenerate.
389 * libbacktrace/Makefile.in: Regenerate.
390 * lsan/Makefile.in: Regenerate.
391 * sanitizer_common/Makefile.in: Regenerate.
392 * tsan/Makefile.in: Regenerate.
393 * ubsan/Makefile.in: Regenerate.
394
69af4eec
JJ
3952016-05-17 Jakub Jelinek <jakub@redhat.com>
396
397 PR sanitizer/71160
398 * asan/asan_malloc_linux.cc: Cherry pick upstream r254395
399 and r269633.
400
fefddbef
MO
4012016-04-21 Maxim Ostapenko <m.ostapenko@samsung.com>
402
403 PR sanitizer/70624
404 * asan/asan_mac.cc: Cherry pick upstream r266868.
405
e4729419
JJ
4062016-01-19 Jakub Jelinek <jakub@redhat.com>
407
408 PR sanitizer/68824
409 * tsan/tsan_interceptors.cc (NEED_TLS_GET_ADDR, __tls_get_addr,
410 InitializeInterceptors): Cherry pick upstream r258119.
411
bf93d543
AT
4122016-01-14 Andreas Tobler <andreast@gcc.gnu.org>
413
414 * configure.ac: Replace the hard-coded -ldl requirement for
415 link_sanitizer_common with a configure time check for -ldl.
416 * configure: Regenerate.
417
9211bbb2
MO
4182015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
419
420 * include/system/linux/asm/ptrace.h: Move to ...
421 * include/system/asm/ptrace.h: ... this.
422
664dd3cf
MO
4232015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
424
425 * include/system/linux/asm/ptrace.h: New header.
426
55aea9f5
MO
4272015-11-23 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
428
429 * All source files: Merge from upstream r253555.
430 * configure.tgt: Enable LSan on aarch64-*-linux* targets. Add new
431 dependences for TSan for aarch64-*-linux* targets.
432 * tsan/Makefile.am: Add new source files.
433 * configure: Regenerate.
434 * tsan/Makefile.in: Likewise.
435
62c0f0a6
AM
4362015-11-09 Alan Modra <amodra@gmail.com>
437
438 * sanitizer_common/sanitizer_common_interceptors.inc: Update size
439 params for _obstack_begin_1, _obstack_begin, _obstack_newchunk
440 interceptors.
441 * configure.ac: Substitute OBSTACK_DEFS.
442 * asan/Makefile.am: Add OBSTACK_DEFS to DEFS.
443 * tsan/Makefile.am: Likewise.
444 * configure: Regenerate.
445 * Makefile.in: Regenerate.
446 * asan/Makefile.in: Regenerate.
447 * interception/Makefile.in: Regenerate.
448 * libbacktrace/Makefile.in: Regenerate.
449 * lsan/Makefile.in: Regenerate.
450 * sanitizer_common/Makefile.in: Regenerate.
451 * tsan/Makefile.in: Regenerate.
452 * ubsan/Makefile.in: Regenerate.
453
692b1131
MO
4542015-10-22 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
455
456 PR bootstrap/68041
457 * configure.ac (link_sanitizer_common): Link against librt only if it
458 contains shm_open, required by sanitizers.
459 (CXX_ABI_NEEDED): Remove variable.
460 * configure: Regenerate.
461 * ubsan/Makefile.am (libubsan_la_LIBADD): Do not add -lc++abi anymore.
462 * ubsan/Makefile.in: Regenerate.
463
7047bc9c
MO
4642015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
465
466 * HOWTO_MERGE: New file.
467
21d61063
MO
4682015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
469
470 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
471 compiled code with GCC when extracting the caller PC for ARM if no
472 valid frame pointer is available.
473
15ebe1fe
MO
4742015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
475
476 PR bootstrap/63888
477 Reapply:
478 2015-02-20 Jakub Jelinek <jakub@redhat.com>
479
480 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
481 support until it is rewritten upstream.
482
483 * c-c++-common/asan/pr63888.c: New test.
484
0d57d3e0
MO
4852015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
486
487 PR sanitizer/63958
488 Reapply:
489 2014-10-14 David S. Miller <davem@davemloft.net>
490
491 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
492 Define at __kernel_time_t, as needed for sparc.
493 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
494 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
495 (__sanitizer): Define struct___old_kernel_stat_sz,
496 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
497 (__sanitizer_ipc_perm): Adjust for sparc targets.
498 (__sanitizer_shmid_ds): Likewsie.
499 (__sanitizer_sigaction): Likewise.
500 (IOC_SIZE): Likewsie.
501
696d846a
MO
5022015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
503
504 * All source files: Merge from upstream r250806.
505 * configure.ac (link_sanitizer_common): Add -lrt flag.
506 * configure.tgt: Enable TSAN and LSAN for aarch64-linux targets.
507 Set USE_CXX_ABI_FLAG=true for darwin.
508 * asan/Makefile.am (asan_files): Add new files.
509 (DEFS): Add DCAN_SANITIZE_UB=0 and remove unused and legacy
510 DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0.
511 * asan/Makefile.in: Regenerate.
512 * ubsan/Makefile.am (ubsan_files): Add new files.
513 (DEFS): Add DCAN_SANITIZE_UB=1.
514 (libubsan_la_LIBADD): Add -lc++abi if USE_CXX_ABI_FLAG is true.
515 * ubsan/Makefile.in: Regenerate.
516 * tsan/Makefile.am (tsan_files): Add new files.
517 (DEFS): Add DCAN_SANITIZE_UB=0.
518 * tsan/Makefile.in: Regenerate.
519 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
520 * sanitizer_common/Makefile.in: Regenerate.
521 * asan/libtool-version: Bump the libasan SONAME.
522
1842a04c
MT
5232015-09-09 Markus Trippelsdorf <markus@trippelsdorf.de>
524
525 PR sanitizer/67258
526 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r244101.
527
97d8f801
MT
5282015-07-29 Markus Trippelsdorf <markus@trippelsdorf.de>
529
530 PR sanitizer/63927
531 * sanitizer_common/sanitizer_stacktrace.h: Use fast unwinder
532 for PowerPC.
533
3d61d875
BS
5342015-07-28 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
535
536 PR sanitizer/63927
537 * sanitizer_common/sanitizer_stacktrace.cc
538 (BufferedStackTrace::FastUnwindStack): Fix code for PowerPC to
539 find the link register at an offset of 16 from the base of the
540 caller's stack frame.
541
f3915b42
MH
5422015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
543
544 * Makefile.in: Regenerated with automake-1.11.6.
545 * aclocal.m4: Likewise.
546 * asan/Makefile.in: Likewise.
547 * configure: Likewise.
548 * interception/Makefile.in: Likewise.
549 * libbacktrace/Makefile.in: Likewise.
550 * lsan/Makefile.in: Likewise.
551 * sanitizer_common/Makefile.in: Likewise.
552 * tsan/Makefile.in: Likewise.
553 * ubsan/Makefile.in: Likewise.
554
d041a6fc
YG
5552015-04-13 Yury Gribov <y.gribov@samsung.com>
556
557 PR sanitizer/64839
558 * sanitizer_common/sanitizer_platform.h: Cherry pick
559 upstream r234470.
560 * sanitizer_common/sanitizer_platform_limits_posix.cc: Ditto.
561 * configure.ac (RPC_DEFS): Check for precense of RPC headers.
562 * sanitizer_common/Makefile.am (DEFS): Pass info to compiler.
563 * Makefile.in: Regenerate.
564 * asan/Makefile.in: Regenerate.
565 * config.h.in: Regenerate.
566 * configure: Regenerate.
567 * interception/Makefile.in: Regenerate.
568 * libbacktrace/Makefile.in: Regenerate.
569 * lsan/Makefile.in: Regenerate.
570 * sanitizer_common/Makefile.in: Regenerate.
571 * tsan/Makefile.in: Regenerate.
572 * ubsan/Makefile.in: Regenerate.
573
574
d886f7cc
CL
5752015-03-23 Christophe Lyon <christophe.lyon@linaro.org>
576
577 PR sanitizer/59009
578 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
579 upstream r230324.
580 * sanitizer_common/sanitizer_platform.h: Likewise.
581 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
582
563fb64a
BE
5832015-03-11 Bernd Edlinger <bernd.edlinger@hotmail.de>
584
585 * tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
586 upstream 224508 and 224755.
587
ee876e59
JJ
5882015-03-09 Jakub Jelinek <jakub@redhat.com>
589
590 PR sanitizer/63958
591 Reapply:
592 2014-10-14 David S. Miller <davem@davemloft.net>
593
594 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
595 Define at __kernel_time_t, as needed for sparc.
596 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
597 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
598 (__sanitizer): Define struct___old_kernel_stat_sz,
599 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
600 (__sanitizer_ipc_perm): Adjust for sparc targets.
601 (__sanitizer_shmid_ds): Likewsie.
602 (__sanitizer_sigaction): Likewise.
603 (IOC_SIZE): Likewsie.
604
6ad0611b
PB
6052015-02-27 Peter Bergner <bergner@vnet.ibm.com>
606
607 * configure.tgt: Enable build on powerpc*le-*-linux.
608
09901e8a 6092015-02-23 Jakub Jelinek <jakub@redhat.com>
86ee2038
JJ
610
611 PR bootstrap/63888
612 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
613 support until it is rewritten upstream.
614
94213c10
MK
6152015-01-26 Matthias Klose <doko@ubuntu.com>
616
617 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
618 * configure: Regenerate.
619
8790f572
VK
6202015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
621
94213c10 622 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine.
8790f572 623 * configure: Regenerate.
94213c10 624 * configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
8790f572 625
b0edd457
VK
6262015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
627
628 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
629 * configure: Regenerate.
630 * tsan/Makefile.am (EXTRA_libtsan_la_SOURCES): Define.
631 (libtsan_la_DEPENDENCIES): Likewise.
632 * Makefile.in: Regenerate.
633 * asan/Makefile.in: Regenerate.
634 * interception/Makefile.in: Regenerate.
635 * libbacktrace/Makefile.in: Regenerate.
636 * lsan/Makefile.in: Regenerate.
637 * sanitizer_common/Makefile.in: Regenerate.
638 * tsan/Makefile.in: Regenerate.
639 * ubsan/Makefile.in: Regenerate.
640
19ac475f
JJ
6412015-01-22 Jakub Jelinek <jakub@redhat.com>
642
643 * tsan/tsan_rtl.h: Cherry pick upstream r226829.
644
8b08ef25
JJ
6452015-01-21 Jakub Jelinek <jakub@redhat.com>
646
647 PR sanitizer/64435
648 * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick
649 upstream r226637.
650 * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
651 * sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639.
652
3ea36418
JJ
6532015-01-20 Jakub Jelinek <jakub@redhat.com>
654
655 PR sanitizer/64632
656 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r224972.
657
9deaf59d
JJ
6582015-01-19 Jakub Jelinek <jakub@redhat.com>
659
660 PR sanitizer/64435
661 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
662 upstream r223925.
663
b6a8bacc
JJ
6642015-01-13 Jakub Jelinek <jakub@redhat.com>
665
666 * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
667 upstream r224518 and r224519.
668 * tsan/tsan_rtl_thread.cc: Cherry pick upstream r224702 and
669 r224834.
670
f2798565
JJ
6712014-12-16 Jakub Jelinek <jakub@redhat.com>
672
673 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
674 sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
675 sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
676 upstream r224308.
677
a699d672
L
6782014-11-21 H.J. Lu <hongjiu.lu@intel.com>
679
680 PR bootstrap/63784
681 * configure: Regenerated.
682
7697b16f
JJ
6832014-11-21 Jakub Jelinek <jakub@redhat.com>
684
685 PR target/61137
686 * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
687 (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
688
7f201a67
UB
6892014-11-14 Uros Bizjak <ubizjak@gmail.com>
690
691 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
692 * asan/Makefile.am (AM_CXXFLAGS): Ditto.
693 * lsan/Makefile.am (AM_CXXFLAGS): Ditto.
694 * interception/Makefile.am (AM_CXXFLAGS): Ditto.
695 * tsan/Makefile.am (AM_CXXFLAGS): Ditto.
696 * libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
697 * ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
698 * sanitizer_common/Makefile.in: Regenerate.
699 * asan/Makefile.in: Ditto.
700 * lsan/Makefile.in: Ditto.
701 * interception/Makefile.in: Ditto.
702 * tsan/Makefile.in: Ditto.
703 * libbacktrace/Makefile.in: Ditto.
704 * ubsan/Makefile.in: Ditto.
705
c5be964a
KS
7062014-11-13 Kostya Serebryany <kcc@google.com>
707
708 * All source files: Merge from upstream r221802.
709 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
710 (LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
711 with 'start' to follow the new interface.
712 * asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
713 * interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
714 * libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
715 * lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
716 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
717 files.
718 (AM_CXXFLAGS): Added -std=c++11.
719 * tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
720 * ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
721 * asan/Makefile.in: Regenerate.
722 * interception/Makefile.in: Regenerate.
723 * libbacktrace/Makefile.in: Regenerate.
724 * lsan/Makefile.in: Regenerate.
725 * sanitizer_common/Makefile.in: Regenerate.
726 * tsan/Makefile.in: Regenerate.
727 * ubsan/Makefile.in: Regenerate.
728
ebf6d33b
FXC
7292014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
730
731 PR target/63610
732 * configure: Regenerate.
733
d13fc1ed
ML
7342014-10-16 Martin Liska <mliska@suse.cz>
735
736 * asan/Makefile.am: IPA ICF pass is disabled.
737 * asan/Makefile.in: Likewise.
738
c8473336
DM
7392014-10-14 David S. Miller <davem@davemloft.net>
740
741 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
742 Define at __kernel_time_t, as needed for sparc.
743 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
744 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
745 (__sanitizer): Define struct___old_kernel_stat_sz,
746 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
747 (__sanitizer_ipc_perm): Adjust for sparc targets.
748 (__sanitizer_shmid_ds): Likewsie.
749 (__sanitizer_sigaction): Likewsie.
750 (IOC_SIZE): Likewsie.
751
694b4cfa
JJ
7522014-10-14 Jakub Jelinek <jakub@redhat.com>
753
754 * ubsan/Makefile.am (DEFS): Add -DPIC.
755 * ubsan/Makefile.in: Regenerated.
756
a3125fc2
CL
7572014-09-26 Christophe Lyon <christophe.lyon@linaro.org>
758
759 * configure.tgt: Enable build on aarch64*-linux.
760
866e32ad
KS
7612014-09-19 Kostya Serebryany <kcc@google.com>
762
763 * All source files: Merge from upstream r218156.
764 * asan/Makefile.am (asan_files): Added new files.
765 * asan/Makefile.in: Regenerate.
766 * ubsan/Makefile.am (ubsan_files): Added new files.
767 * ubsan/Makefile.in: Regenerate.
768 * tsan/Makefile.am (tsan_files): Added new files.
769 * tsan/Makefile.in: Regenerate.
770 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
771 files.
772 * sanitizer_common/Makefile.in: Regenerate.
773 * asan/libtool-version: Bump the libasan SONAME.
774
126edc3f
JJ
7752014-09-10 Jakub Jelinek <jakub@redhat.com>
776
777 * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
778 upstream r215485, r217389, r217391 and r217400.
779
0d807c80
PC
7802014-06-23 Paolo Carlini <paolo.carlini@oracle.com>
781
782 * sanitizer_common/sanitizer_common_interceptors.inc:
783 Cherry pick upstream r211008.
784
4622301b
RB
7852014-06-11 Richard Biener <rguenther@suse.de>
786
787 * asan/asan_linux.cc: Cherry pick upstream r210012.
788
ecd5543f
JJ
7892014-05-30 Jakub Jelinek <jakub@redhat.com>
790
791 * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
792 r209879.
793 * sanitizer_common/sanitizer_common.h: Likewise.
794 * asan/asan_mapping.h: Likewise.
795 * asan/asan_linux.cc: Likewise.
796 * tsan/tsan_mman.cc: Cherry pick upstream r209744.
797 * sanitizer_common/sanitizer_allocator.h: Likewise.
798
85a16bf8
MP
7992014-05-23 Marek Polacek <polacek@redhat.com>
800
801 * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
802 floating-point types.
803
dee5ea7a
KS
8042014-05-22 Kostya Serebryany <kcc@google.com>
805
806 * All source files: Merge from upstream r209283.
807 * asan/Makefile.am (asan_files): Added new files.
808 * asan/Makefile.in: Regenerate.
809 * tsan/Makefile.am (tsan_files): Added new files.
810 * tsan/Makefile.in: Regenerate.
0d807c80
PC
811 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
812 files.
dee5ea7a
KS
813 * sanitizer_common/Makefile.in: Regenerate.
814
2675305b
YG
8152014-05-14 Yury Gribov <y.gribov@samsung.com>
816
817 PR sanitizer/61100
818 * Makefile.am (nodist_saninclude_HEADERS): Install
819 public headers.
820 * Makefile.in: Regenerate.
821
a6c9ab4e
RO
8222014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
823
824 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
825 Add ../../libbacktrace/sort.c.
826 * libbacktrace/Makefile.in: Regenerate.
827 * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
828
a42a7046
BS
8292014-03-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
830
831 * configure.tgt: Unsupported for little endian PowerPC for now.
832
5ab39ec3
JJ
8332014-02-04 Jakub Jelinek <jakub@redhat.com>
834
81c87471
JJ
835 PR sanitizer/60055
836 * tsan/tsan_flags.cc (__tsan_default_options): Add
837 SANITIZER_INTERFACE_ATTRIBUTE. Backport from upstream r200747.
838 * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
839
5ab39ec3
JJ
840 PR sanitizer/60038
841 * sanitizer_common/sanitizer_linux_libcdep.cc: Include
842 sanitizer_atomic.h and unistd.h.
843 (kThreadDescriptorSize): Made static, remove initializer and const,
844 change type to atomic_uintptr_t.
845 (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
846 query glibc version, compute kThreadDescriptorSize depending on
847 glibc version minor number.
848 (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
849 kThreadDescriptorSize directly.
850
4a7eaf5f
YG
8512014-01-23 Yury Gribov <y.gribov@samsung.com>
852 Jakub Jelinek <jakub@redhat.com>
853
854 PR sanitizer/57316
855 * configure.ac: Check for missing syscalls.
856 * Makefile.am: Likewise.
857 * configure: Regenerate.
858 * Makefile.in: Regenerate.
859
2613419a
JJ
8602014-01-09 Jakub Jelinek <jakub@redhat.com>
861
b5f58ba3
JJ
862 * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
863 (LibbacktraceSymbolizer::Demangle): New declaration.
864 * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
865 (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
866 method if possible.
867 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
868 "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
869 (struct CplusV3DemangleData): New type.
870 (CplusV3DemangleCallback, CplusV3Demangle): New functions.
871 (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
872 SymbolizeDataCallback): Use CplusV3Demangle.
873 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
874 -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
875 * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
876 cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
877 cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
878 cplus_demangle_init_info, cplus_demangle_mangled_name,
879 cplus_demangle_operators, cplus_demangle_print,
880 cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
881 cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
882 is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
883 Define.
884 (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
885 (memcmp, strncmp): Redefine.
886 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
887 ../../libiberty/cp-demangle.c.
888 * libbacktrace/bridge.cc (__asan_internal_memcmp,
889 __asan_internal_strncmp): New functions.
890 * sanitizer_common/Makefile.in: Regenerated.
891 * libbacktrace/Makefile.in: Regenerated.
892 * configure: Regenerated.
893 * configure.ac: Regenerated.
894 * config.h.in: Regenerated.
895
2613419a
JJ
896 * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
897 -isystem $(top_srcdir)/include/system.
898 * sanitizer_common/Makefile.in: Regenerated.
899 * include/system/linux/aio_abi.h: New header.
900 * include/system/linux/mroute.h: New header.
901 * include/system/linux/mroute6.h: New header.
902 * include/system/linux/perf_event.h: New header.
903 * include/system/linux/types.h: New header.
c915a581
JJ
904
905 PR sanitizer/59136
906 * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
907 LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
908 and -I/-include flags.
909 * lsan/Makefile.am (liblsan_la_LIBADD): Add
910 libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
911 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
912 * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
913 * asan/Makefile.am (libasan_la_LIBADD): Likewise.
914 * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
915 libbacktrace.
916 * README.gcc: Document that also lsan and ubsan are
917 maintained in compiler-rt upstream.
918 * libbacktrace/Makefile.am: New file.
919 * libbacktrace/backtrace-rename.h: New file.
920 * libbacktrace/backtrace-supported.h.in: New file.
921 * libbacktrace/bridge.cc: New file.
922 * configure.ac: Add tests needed for libbacktrace build
923 within libsanitizer.
924 * sanitizer_common/Makefile.in: Regenerated.
925 * lsan/Makefile.in: Regenerated.
926 * tsan/Makefile.in: Regenerated.
927 * ubsan/Makefile.in: Regenerated.
928 * libbacktrace/Makefile.in: Generated.
929 * config.h.in: Regenerated.
930 * configure: Regenerated.
931 * Makefile.in: Regenerated.
932 * interception/Makefile.in: Regenerated.
933 * asan/Makefile.in: Regenerated.
934 * aclocal.m4: Regenerated.
935
409f3b46
KS
9362013-12-19 Kostya Serebryany <kcc@google.com>
937
938 * sanitizer_common/sanitizer_platform_limits_posix.cc:
939 workaround for missing definition of EOWNERDEAD, backport
940 from upstream r196779.
941
079db27b
L
9422013-12-06 H.J. Lu <hongjiu.lu@intel.com>
943
944 * sanitizer_common/sanitizer_platform_limits_posix.h
945 (__sanitizer_shmid_ds): Use u64 on time fields for x32.
946 (__sanitizer_clock_t): Use long long for x32.
947
7efb96c0
L
9482013-12-06 H.J. Lu <hongjiu.lu@intel.com>
949
950 * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
951 <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
952 (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
953
df9d1700
L
9542013-12-05 H.J. Lu <hongjiu.lu@intel.com>
955
956 * configure.ac (link_sanitizer_common): Add -lm.
957 * configure: Regenerated.
958
c4c16f74
KS
9592013-12-05 Kostya Serebryany <kcc@google.com>
960
961 * All source files: Merge from upstream r196489.
962 * merge.sh: Add *.S to the list of merged files.
963
666ee4d6
YG
9642013-12-05 Yury Gribov <y.gribov@samsung.com>
965
966 PR sanitizer/59368
967 * Makefile.am (gcc_version): Added gcc_version.
968 * Makefile.in: Regenerate.
969
df77f0e4
KS
9702013-12-05 Kostya Serebryany <kcc@google.com>
971
972 * All source files: Merge from upstream r196090.
973 * tsan/Makefile.am (tsan_files): Added new files.
974 * tsan/Makefile.in: Regenerate.
975 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
976 * sanitizer_common/Makefile.in: Regenerate.
977 * lsan/Makefile.am (lsan_files): Added new files.
978 * lsan/Makefile.in: Regenerate.
979
35814b03
JJ
9802013-11-29 Jakub Jelinek <jakub@redhat.com>
981 Yury Gribov <y.gribov@samsung.com>
982
983 PR sanitizer/59063
984 * libsanitizer.spec.in: Add spec file to hold link flags for
985 various sanitizer libs.
986 * configure.ac: Check whether clock_* routines come from librt.
987 * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
988 configure.ac.
989 * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
990 * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
991 * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
992 * asan/Makefile.in: Regenerate.
993 * interception/Makefile.in: Regenerate.
994 * lsan/Makefile.in: Regenerate.
995 * sanitizer_common/Makefile.in: Regenerate.
996 * tsan/Makefile.in: Regenerate.
997 * ubsan/Makefile.in: Regenerate.
998 * Makefile.in: Regenerate.
999 * configure: Regenerate.
1000
049558ed
JJ
10012013-11-28 Jakub Jelinek <jakub@redhat.com>
1002 Yury Gribov <y.gribov@samsung.com>
1003
1004 PR sanitizer/59106
1005 * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
1006 don't need it.
1007 * ubsan/Makefile.in: Regenerated.
1008
9065ada9
JJ
10092013-11-22 Jakub Jelinek <jakub@redhat.com>
1010
1011 PR sanitizer/59061
1012 * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
1013 * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
1014 * configure: Regenerated.
1015 * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
1016 liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
1017 * lsan/Makefile.in: Regenerated.
1018
486294d4
MS
10192013-11-22 Mike Stump <mikestump@comcast.net>
1020
1021 * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
1022 change from upstream to fix build.
1023
2621c860
YG
10242013-11-18 Yury Gribov <y.gribov@samsung.com>
1025
1026 PR sanitizer/59106
1027 * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
1028 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
1029 * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
1030 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
1031 * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
1032 * asan/Makefile.in: Regenerate.
1033 * interception/Makefile.in: Regenerate.
1034 * tsan/Makefile.in: Regenerate.
1035 * lsan/Makefile.in: Regenerate.
1036 * sanitizer_common/Makefile.in: Regenerate.
1037
c8e1377b
KS
10382013-11-15 Kostya Serebryany <kcc@google.com>
1039
1040 PR sanitizer/58994
1041 Backport from upstream revision 194573
1042 * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
1043 back to the original functions in the common libsanitizer
1044 interceptors and the __cxa_atexit() interceptor on Darwin.
1045
c3d77f3a
PB
10462013-11-13 Peter Bergner <bergner@vnet.ibm.com>
1047
1048 PR sanitizer/59009
1049 * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
1050 ifdef out more source.
1051
d00106f4
JJ
10522013-11-12 Jakub Jelinek <jakub@redhat.com>
1053
1054 * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
1055 ifdef out almost the whole source.
1056 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
1057
e276866f
L
10582013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1059
1060 PR sanitizer/59018
1061 * sanitizer_common/sanitizer_platform_limits_posix.cc
1062 (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
1063 defined.
1064
f5c36cfc
L
10652013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1066
1067 PR sanitizer/59018
1068 * sanitizer_common/sanitizer_platform_limits_linux.cc
1069 (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
1070 defined.
1071 * sanitizer_common/sanitizer_platform_limits_posix.h
1072 (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
1073 defined.
1074 (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
1075 is defined.
1076 (__sanitizer___kernel_gid_t): Likewise.
1077 (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
1078 is defined.
1079
e45de14e
L
10802013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1081
1082 PR sanitizer/59018
1083 * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
1084 2 64-bit integers to save and restore fn and arg. Properly load
1085 newtls/child_tidptr into r8/r10.
1086
38693e39
L
10872013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1088
1089 PR sanitizer/59018
1090 * sanitizer_common/sanitizer_linux.cc (internal_mmap,
1091 internal_munmap, internal_open, internal_read, internal_write,
1092 internal_stat, internal_lstat, internal_fstat, internal_readlink,
1093 internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
1094 BlockingMutex::Unlock, internal_ptrace, internal_getdents,
1095 internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
1096
ef1b3fda
KS
10972013-11-04 Kostya Serebryany <kcc@google.com>
1098
1099 * All source files: Merge from upstream r191666.
1100 * merge.sh: Added lsan.
1101 * configure.ac (AC_CONFIG_FILES): Added lsan.
1102 * Makefile.am (SUBDIRS): Added lsan.
1103 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
1104 * asan/Makefile.am (asan_files): Added new files.
1105 (libasan_la_LIBADD): Added a dependency on lsan.
1106 * lsan/Makefile.am: New file.
1107 * asan/Makefile.in: Regenerate.
1108 * lsan/Makefile.in: Regenerate.
1109 * Makefile.in: Regenerate.
1110 * configure: Regenerate.
1111 * sanitizer_common/Makefile.in: Regenerate.
1112
3cbe17f7
AM
11132013-09-20 Alan Modra <amodra@gmail.com>
1114
1115 * configure: Regenerate.
1116
0cea211e
IS
11172013-09-01 Iain Sandoe <iain@codesourcery.com>
1118
1119 * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
1120 libinterception.la for Darwin.
1121 * ubsan/Makefile.in: Regenerate.
1122
de5a5fa1
MP
11232013-08-30 Jakub Jelinek <jakub@redhat.com>
1124
1125 * Makefile.am (SUBDIRS): Add ubsan.
1126 * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
1127 * merge.sh: Merge ubsan.
1128 * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
1129 * sanitizer_common/sanitizer_printf.cc: Likewise.
1130 * sanitizer_common/sanitizer_common.h: Likewise.
1131 * ubsan: New directory. Import ubsan runtime from llvm.
1132
634cfa2b
CL
11332013-06-03 Christophe Lyon <christophe.lyon@linaro.org>
1134
1135 * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
1136 Cherry pick upstream r182922.
1137
8a5800b8
CL
11382013-05-07 Christophe Lyon <christophe.lyon@linaro.org>
1139
1140 * configure.tgt: Add ARM pattern.
1141
a745e444 11422013-03-22 Jakub Jelinek <jakub@redhat.com>
1868beee
JJ
1143
1144 PR other/43620
1145 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
1146 * Makefile.in: Regenerated.
1147 * asan/Makefile.in: Regenerated.
1148 * interception/Makefile.in: Regenerated.
1149 * sanitizer_common/Makefile.in: Regenerated.
1150 * tsan/Makefile.in: Regenerated.
1151
4c376126
JJ
11522013-02-28 Jakub Jelinek <jakub@redhat.com>
1153
1154 * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
1155 * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
1156 0x4fffffffffULL.
1157
7d613735
JJ
11582013-02-22 Jakub Jelinek <jakub@redhat.com>
1159
1160 PR sanitizer/56393
1161 * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
1162 libasan_preinit.o.
1163 (libasan_preinit.o): Depend on asan_preinit.o.
1164 * asan/Makefile.in: Regenerated.
1165 * asan/asan_preinit.cc: New file, synced from upstream.
1166 * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
1167
ecdbd01a 11682013-02-21 Jack Howarth <howarth@bromo.med.uc.edu>
304886c5
JH
1169
1170 * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
1171 dynamic/asan_interceptors_dynamic.cc.
1172 * asan/Makefile.in: Regenerated.
1173 * merge.sh: Remove merge of deprecated lib/asan/dynamic.
1174
4be7da26
JJ
11752013-02-21 Jakub Jelinek <jakub@redhat.com>
1176
1177 * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
1178 defined. Add used attribute.
1179
7df59255
KS
11802013-02-21 Kostya Serebryany <kcc@google.com>
1181
1182 * All source files: Merge from upstream r175733.
1183 * sanitizer_common/Makefile.am: Added a new file.
1184 * sanitizer_common/Makefile.in: Regenerated.
1185
8afd2ed7
L
11862013-02-14 H.J. Lu <hongjiu.lu@intel.com>
1187
1188 PR bootstrap/56327
1189 * interception/interception.h (OFF_T): Merged from upstream
1190 r175140.
1191
6422242b
JJ
11922013-02-13 Jakub Jelinek <jakub@redhat.com>
1193
1194 * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
1195
b4ab7d34
KS
11962013-02-13 Kostya Serebryany <kcc@google.com>
1197
8afd2ed7 1198 PR sanitizer/56128
b4ab7d34
KS
1199 * All source files: Merge from upstream r175049.
1200 * interception/Makefile.am: added include path.
1201 * interception/Makefile.in: Regenerated.
1202
34dc17ed
JH
12032013-02-11 Jack Howarth <howarth@bromo.med.uc.edu>
1204
1205 * configure.tgt: Disable build on darwin9 and earlier.
1206
2660d12d
KS
12072013-01-23 Kostya Serebryany <kcc@google.com>
1208
8afd2ed7 1209 PR sanitizer/55989
2660d12d
KS
1210 * All source files: Merge from upstream r173241.
1211 * merge.sh: Support merging .inc files.
1212
19006c45
JJ
12132013-01-16 Jakub Jelinek <jakub@redhat.com>
1214
1215 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
1216 -Wno-c99-extensions.
1217 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
1218 * asan/Makefile.am (AM_CXXFLAGS): Likewise.
1219 * sanitizer_common/Makefile.in: Regenerated.
1220 * interception/Makefile.in: Regenerated.
1221 * asan/Makefile.in: Regenerated.
1222
edadb734
WM
12232013-01-10 Wei Mi <wmi@google.com>
1224
1225 PR sanitizer/55488
1226 * tsan/Makefile.am: Add tsan_rtl_amd64.S.
1227 * tsan/Makefile.in: Regenerated.
1228 * tsan/tsan_rtl.h: Enable HACKY_CALL.
1229
e9772e16
KS
12302013-01-10 Kostya Serebryany <kcc@google.com>
1231
1232 * All source files: Merge from upstream r171973.
1233 * sanitizer_common/Makefile.am: Added new files.
1234 * asan/Makefile.am: Likewise.
1235 * tsan/Makefile.am: Likewise.
1236 * sanitizer_common/Makefile.in: Regenerated.
1237 * asan/Makefile.in: Likewise.
1238 * tsan/Makefile.in: Likewise.
1239
7f7162cf
L
12402013-01-07 H.J. Lu <hongjiu.lu@intel.com>
1241
1242 * asan/Makefile.am (libasan_la_LIBADD): Replace
1243 LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
1244 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1245 * Makefile.in: Regenerated.
1246 * configure: Likewise.
1247 * asan/Makefile.in: Likewise.
1248 * interception/Makefile.in: Likewise.
1249 * sanitizer_common/Makefile.in: Likewise.
1250 * tsan/Makefile.in: Likewise.
1251
b488a2c7
L
12522012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1253
1254 * Makefile.am (AM_MAKEFLAGS): Restored.
1255 * interception/Makefile.am: Likewise.
1256 * sanitizer_common/Makefile.am: Likewise.
1257 * tsan/Makefile.am: Likewise.
1258 * Makefile.in: Regenerated.
1259 * asan/Makefile.in: Likewise.
1260 * interception/Makefile.in: Likewise.
1261 * sanitizer_common/Makefile.in: Likewise.
1262 * tsan/Makefile.in: Likewise.
1263
e8adb21b
L
12642012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1265
1266 * Makefile.am (MAKEOVERRIDES): Restored.
1267 * asan/Makefile.am: Likewise.
1268 * interception/Makefile.am: Likewise.
1269 * sanitizer_common/Makefile.am: Likewise.
1270 * tsan/Makefile.am: Likewise.
1271 * Makefile.in: Regenerated.
1272 * asan/Makefile.in: Likewise.
1273 * interception/Makefile.in: Likewise.
1274 * sanitizer_common/Makefile.in: Likewise.
1275 * tsan/Makefile.in: Likewise.
1276
e1e953d9
L
12772012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1278
1279 * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
1280 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1281 * Makefile.in: Regenerated.
1282 * configure: Likewise.
1283 * asan/Makefile.in: Likewise.
1284 * interception/Makefile.in: Likewise.
1285 * sanitizer_common/Makefile.in: Likewise.
1286 * tsan/Makefile.in: Likewise.
1287
a62d3903
L
12882012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1289
1290 * Makefile.am (AM_MAKEFLAGS): Removed.
1291 (MAKEOVERRIDES): Likewise.
1292 * asan/Makefile.am: Likewise.
1293 * interception/Makefile.am: Likewise.
1294 * sanitizer_common/Makefile.am: Likewise.
1295 * tsan/Makefile.am: Likewise.
1296 * Makefile.in: Regenerated.
1297 * asan/Makefile.in: Likewise.
1298 * interception/Makefile.in: Likewise.
1299 * sanitizer_common/Makefile.in: Likewise.
1300 * tsan/Makefile.in: Likewise.
1301
d10a2df2
L
13022012-12-11 H.J. Lu <hongjiu.lu@intel.com>
1303
1304 PR sanitizer/55533
1305 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
1306 * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
1307 * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
1308 (AM_MAKEFLAGS): Remove CC and CXX.
1309 * interception/Makefile.am: Likewise.
1310 * sanitizer_common/Makefile.am: Likewise.
1311 * tsan/Makefile.am: Likewise.
1312 * Makefile.in: Regenerated.
1313 * aclocal.m4: Likewise.
1314 * configure: Likewise.
1315 * asan/Makefile.in: Likewise.
1316 * interception/Makefile.in: Likewise.
1317 * sanitizer_common/Makefile.in: Likewise.
1318 * tsan/Makefile.in: Likewise.
1319
957fee09
PB
13202012-12-06 Peter Bergner <bergner@vnet.ibm.com>
1321
1322 * configure.tgt: Enable build on powerpc*-linux.
1323
ecdbd01a 13242012-12-06 Jack Howarth <howarth@bromo.med.uc.edu>
3157880f
JH
1325
1326 PR 55599/sanitizer
d10a2df2
L
1327 * configure.ac: Set enable_static=no on darwin.
1328 * configure: Regenerated.
3157880f 1329
695edbac
KS
13302012-12-06 Kostya Serebryany <kcc@google.com>
1331
1332 * All files: Merge from upstream r169392.
1333
a0408454
KS
13342012-12-05 Kostya Serebryany <kcc@google.com>
1335
1336 * All files: Merge from upstream r169371.
1337
41d37c56 13382012-12-04 Kostya Serebryany <kcc@google.com>
ecdbd01a 1339 Jack Howarth <howarth@bromo.med.uc.edu>
8c4d267c
KS
1340
1341 PR 55521/sanitizer
1342 * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
1343 * Makefile.am: Don't build interception subdir when
1344 USING_MAC_INTERPOSE defined.
1345 * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
1346 -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
1347 Compile asan_interceptors_dynamic.cc but not libinterception
1348 when USING_MAC_INTERPOSE defined.
1349 * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
1350 * configure: Regenerated.
1351 * Makefile.in: Likewise.
1352 * asan/Makefile.in: Likewise.
1353 * interception/Makefile.in: Likewise.
1354 * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
1355 * asan/asan_mac.cc: Likewise.
1356 * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
1357 and use MISSING_BLOCKS_SUPPORT.
1358 * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
1359 * interception/mach_override/LICENSE.txt: Remove unused file.
1360 * interception/mach_override/mach_override.c: Likewise.
1361 * interception/mach_override/mach_override.h: Likewise.
1362 * interception/mach_override: Remove unused directory.
1363
a23ed040
L
13642012-11-28 H.J. Lu <hongjiu.lu@intel.com>
1365
1366 * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
1367 * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
1368 * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
1369 files.
1370 (AM_MAKEFLAGS): Restore CC and CXX.
1371 * interception/Makefile.am: Likewise.
1372 * sanitizer_common/Makefile.am: Likewise.
1373 * tsan/Makefile.am: Likewise.
1374 * Makefile.in: Regenerated.
1375 * aclocal.m4: Likewise.
1376 * configure: Likewise.
1377 * asan/Makefile.in: Likewise.
1378 * interception/Makefile.in: Likewise.
1379 * sanitizer_common/Makefile.in: Likewise.
1380 * tsan/Makefile.in: Likewise.
1381
2ed685b8
L
13822012-11-28 H.J. Lu <hongjiu.lu@intel.com>
1383
1384 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
1385 * configure.ac (ACX_NONCANONICAL_TARGET): New.
1386 * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
1387 files.
1388 (AM_MAKEFLAGS): Remove CC and CXX.
1389 * interception/Makefile.am: Likewise.
1390 * sanitizer_common/Makefile.am: Likewise.
1391 * tsan/Makefile.am: Likewise.
1392 * Makefile.in: Regenerated.
1393 * aclocal.m4: Likewise.
1394 * configure: Likewise.
1395 * asan/Makefile.in: Likewise.
1396 * interception/Makefile.in: Likewise.
1397 * sanitizer_common/Makefile.in: Likewise.
1398 * tsan/Makefile.in: Likewise.
1399
4ba5ca46
KS
14002012-11-27 Kostya Serebryany <kcc@google.com>
1401
1402 * All files: Merge from upstream r168699.
1403
41d37c56 14042012-11-24 Kostya Serebryany <kcc@google.com>
ecdbd01a 1405 Jack Howarth <howarth@bromo.med.uc.edu>
f246eadc
JH
1406
1407 * interception/mach_override/mach_override.c: Migrate from llvm.
1408 * interception/mach_override/mach_override.h: Likewise.
1409 * interception/mach_override/LICENSE.txt: Likewise.
1410 * configure.tgt: Add darwin to supported targets.
1411 * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
1412 * interception/Makefile.am: Compile mach_override.c when
1413 USING_MACH_OVERRIDE defined.
1414 * configure: Regenerated.
1415 * interception/Makefile.in: Likewise.
1416
9cb5411c
L
14172012-11-23 H.J. Lu <hongjiu.lu@intel.com>
1418
1419 PR sanitizer/55450
1420 * tsan/Makefile.am (gcc_version): New.
1421 * tsan/Makefile.in: Regenerated.
1422
3409d40e 14232012-11-23 Kostya Serebryany <kcc@google.com>
9cb5411c 1424
e297eb60
KS
1425 * merge.sh: Support tsan, support added/removed files.
1426 * tsan/Makefile.am: Remove tsan_printf.cc.
1427 * tsan/Makefile.in: Regenerated.
1428 * other files: Merge from upstream r168514.
1429
14302012-11-23 Kostya Serebryany <kcc@google.com>
9cb5411c 1431
e297eb60 1432 * merge.sh: New file.
3409d40e 1433
64548f3b
JJ
14342012-11-23 Jakub Jelinek <jakub@redhat.com>
1435
1436 * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
1437 * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
1438 automake conditional instead of !MULTISUBDIR32.
1439 * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
1440 for 64-bit multilib.
1441 * configure.ac: Check for void * size, source in configure.tgt,
1442 define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
1443 * configure: Regenerated.
1444 * Makefile.in: Regenerated.
1445 * tsan/Makefile.in: Regenerated.
1446
cd0be65c
WM
14472012-11-22 Wei Mi <wmi@google.com>
1448
1449 * tsan: New directory. Import tsan runtime from llvm.
1450 * configure.ac: Add 64 bits tsan build.
1451 * Makefile.am: Likewise.
1452 * configure: Regenerated.
1453 * Makefile.in: Likewise.
1454
5cba83a8
KS
14552012-11-21 Kostya Serebryany <kcc@google.com>
1456
9cb5411c 1457 * README.gcc: Extend the README.gcc with mode details.
5cba83a8 1458
b014e124
KS
14592012-11-20 Konstantin Serebryany <konstantin.s.serebryany@gmail.com>
1460
1461 * sanitizer_common/sanitizer_linux.cc
1462 (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
1463 (internal_mmap): Use it.
1464 (internal_filesize): Likewise.
1465
2b723e21
TT
14662012-11-16 Tom Tromey <tromey@redhat.com>
1467
1468 * configure.ac: Invoke AM_MAINTAINER_MODE.
1469 * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
1470 interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
1471
d1caed14
L
14722012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1473
1474 PR other/55333
1475 * include/sanitizer/common_interface_defs.h (uhwptr): New type
1476 for hardware pointer.
1477 * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
1478 Replace uptr with uhwptr for stack unwind.
1479
f3754998
DS
14802012-11-16 Dodji Seketeli <dodji@redhat.com>
1481
1482 * configure.tgt: Enable build on sparc linux.
1483
f64bcb29
L
14842012-11-15 H.J. Lu <hongjiu.lu@intel.com>
1485
1486 * configure.ac: Properly set MULTISUBDIR.
1487 * asan/Makefile.am (gcc_version): New.
1488 * interception/Makefile.am (gcc_version): Likewise.
1489 * sanitizer_common/Makefile.am (gcc_version): Likewise.
1490 * configure: Regenerated.
1491 * asan/Makefile.in: Likewise.
1492 * interception/Makefile.in: Likewise.
1493 * sanitizer_common/Makefile.in: Likewise.
1494
2a6346c4
L
14952012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1496
1497 PR other/55291
1498 * configure.ac (--enable-version-specific-runtime-libs): New option.
1499 (AC_CANONICAL_SYSTEM): New.
1500 (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
1501 (toolexecdir): Support multilib.
1502 (toolexeclibdir): Likewise.
1503 (multilib_arg): New.
1504 * Makefile.in: Regenerated.
1505 * aclocal.m4: Likewise.
1506 * configure: Likewise.
1507 * asan/Makefile.in: Likewise.
1508 * interception/Makefile.in: Likewise.
1509 * sanitizer_common/Makefile.in: Likewise.
1510
4a56a7be
L
15112012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1512
1513 PR other/55292
1514 Backport from upstream revision 167883
1515 * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
1516 __x86_64__ instead of __WORDSIZE.
1517 (internal_filesize): Likwise.
1518
4053ca2c
L
15192012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1520
1521 * configure.ac (AC_CONFIG_AUX_DIR): Removed.
1522 * Makefile.in: Regenerated.
1523 * configure: Likewise.
1524
a2479b3d
L
15252012-11-13 H.J. Lu <hongjiu.lu@intel.com>
1526
1527 PR other/55304
1528 * acinclude.m4: New file.
1529 * Makefile.am (ACLOCAL_AMFLAGS): New.
1530 * configure.ac (AC_PREREQ): Set to 2.64.
1531 (AC_CONFIG_AUX_DIR): Set to "..".
1532 * Makefile.in: Regenerated.
1533 * aclocal.m4: Likewise.
1534 * configure: Likewise.
1535 * asan/Makefile.in: Likewise.
1536 * interception/Makefile.in: Likewise.
1537 * sanitizer_common/Makefile.in: Likewise.
1538
1539 * config.guess: Removed.
1540 * config.sub: Likewise.
1541 * depcomp: Likewise.
1542 * install-sh: Likewise.
1543 * ltmain.sh: Likewise.
1544 * missing: Likewise.
1545
93bf5390
RH
15462012-11-13 Richard Henderson <rth@redhat.com>
1547
1548 * configure.tgt: New file.
1549
d2860e72
DM
15502012-11-12 David S. Miller <davem@davemloft.net>
1551
1552 * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
1553
f35db108
WM
15542012-10-29 Wei Mi <wmi@google.com>
1555
1556 Initial checkin: migrate asan runtime from llvm.