1 2013-11-18 Yury Gribov <y.gribov@samsung.com>
4 * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
5 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
6 * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
7 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
8 * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
9 * asan/Makefile.in: Regenerate.
10 * interception/Makefile.in: Regenerate.
11 * tsan/Makefile.in: Regenerate.
12 * lsan/Makefile.in: Regenerate.
13 * sanitizer_common/Makefile.in: Regenerate.
15 2013-11-15 Kostya Serebryany <kcc@google.com>
18 Backport from upstream revision 194573
19 * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
20 back to the original functions in the common libsanitizer
21 interceptors and the __cxa_atexit() interceptor on Darwin.
23 2013-11-13 Peter Bergner <bergner@vnet.ibm.com>
26 * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
27 ifdef out more source.
29 2013-11-12 Jakub Jelinek <jakub@redhat.com>
31 * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
32 ifdef out almost the whole source.
33 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
35 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
38 * sanitizer_common/sanitizer_platform_limits_posix.cc
39 (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
42 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
45 * sanitizer_common/sanitizer_platform_limits_linux.cc
46 (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
48 * sanitizer_common/sanitizer_platform_limits_posix.h
49 (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
51 (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
53 (__sanitizer___kernel_gid_t): Likewise.
54 (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
57 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
60 * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
61 2 64-bit integers to save and restore fn and arg. Properly load
62 newtls/child_tidptr into r8/r10.
64 2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
67 * sanitizer_common/sanitizer_linux.cc (internal_mmap,
68 internal_munmap, internal_open, internal_read, internal_write,
69 internal_stat, internal_lstat, internal_fstat, internal_readlink,
70 internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
71 BlockingMutex::Unlock, internal_ptrace, internal_getdents,
72 internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
74 2013-11-04 Kostya Serebryany <kcc@google.com>
76 * All source files: Merge from upstream r191666.
77 * merge.sh: Added lsan.
78 * configure.ac (AC_CONFIG_FILES): Added lsan.
79 * Makefile.am (SUBDIRS): Added lsan.
80 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
81 * asan/Makefile.am (asan_files): Added new files.
82 (libasan_la_LIBADD): Added a dependency on lsan.
83 * lsan/Makefile.am: New file.
84 * asan/Makefile.in: Regenerate.
85 * lsan/Makefile.in: Regenerate.
86 * Makefile.in: Regenerate.
87 * configure: Regenerate.
88 * sanitizer_common/Makefile.in: Regenerate.
90 2013-09-20 Alan Modra <amodra@gmail.com>
92 * configure: Regenerate.
94 2013-09-01 Iain Sandoe <iain@codesourcery.com>
96 * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
97 libinterception.la for Darwin.
98 * ubsan/Makefile.in: Regenerate.
100 2013-08-30 Jakub Jelinek <jakub@redhat.com>
102 * Makefile.am (SUBDIRS): Add ubsan.
103 * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
104 * merge.sh: Merge ubsan.
105 * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
106 * sanitizer_common/sanitizer_printf.cc: Likewise.
107 * sanitizer_common/sanitizer_common.h: Likewise.
108 * ubsan: New directory. Import ubsan runtime from llvm.
110 2013-06-03 Christophe Lyon <christophe.lyon@linaro.org>
112 * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
113 Cherry pick upstream r182922.
115 2013-05-07 Christophe Lyon <christophe.lyon@linaro.org>
117 * configure.tgt: Add ARM pattern.
119 2013-03-22 Jakub Jelinek <jakub@redhat.com>
122 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
123 * Makefile.in: Regenerated.
124 * asan/Makefile.in: Regenerated.
125 * interception/Makefile.in: Regenerated.
126 * sanitizer_common/Makefile.in: Regenerated.
127 * tsan/Makefile.in: Regenerated.
129 2013-02-28 Jakub Jelinek <jakub@redhat.com>
131 * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
132 * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
135 2013-02-22 Jakub Jelinek <jakub@redhat.com>
138 * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
140 (libasan_preinit.o): Depend on asan_preinit.o.
141 * asan/Makefile.in: Regenerated.
142 * asan/asan_preinit.cc: New file, synced from upstream.
143 * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
145 2013-02-21 Jack Howarth <howarth@bromo.med.uc.edu>
147 * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
148 dynamic/asan_interceptors_dynamic.cc.
149 * asan/Makefile.in: Regenerated.
150 * merge.sh: Remove merge of deprecated lib/asan/dynamic.
152 2013-02-21 Jakub Jelinek <jakub@redhat.com>
154 * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
155 defined. Add used attribute.
157 2013-02-21 Kostya Serebryany <kcc@google.com>
159 * All source files: Merge from upstream r175733.
160 * sanitizer_common/Makefile.am: Added a new file.
161 * sanitizer_common/Makefile.in: Regenerated.
163 2013-02-14 H.J. Lu <hongjiu.lu@intel.com>
166 * interception/interception.h (OFF_T): Merged from upstream
169 2013-02-13 Jakub Jelinek <jakub@redhat.com>
171 * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
173 2013-02-13 Kostya Serebryany <kcc@google.com>
176 * All source files: Merge from upstream r175049.
177 * interception/Makefile.am: added include path.
178 * interception/Makefile.in: Regenerated.
180 2013-02-11 Jack Howarth <howarth@bromo.med.uc.edu>
182 * configure.tgt: Disable build on darwin9 and earlier.
184 2013-01-23 Kostya Serebryany <kcc@google.com>
187 * All source files: Merge from upstream r173241.
188 * merge.sh: Support merging .inc files.
190 2013-01-16 Jakub Jelinek <jakub@redhat.com>
192 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
194 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
195 * asan/Makefile.am (AM_CXXFLAGS): Likewise.
196 * sanitizer_common/Makefile.in: Regenerated.
197 * interception/Makefile.in: Regenerated.
198 * asan/Makefile.in: Regenerated.
200 2013-01-10 Wei Mi <wmi@google.com>
203 * tsan/Makefile.am: Add tsan_rtl_amd64.S.
204 * tsan/Makefile.in: Regenerated.
205 * tsan/tsan_rtl.h: Enable HACKY_CALL.
207 2013-01-10 Kostya Serebryany <kcc@google.com>
209 * All source files: Merge from upstream r171973.
210 * sanitizer_common/Makefile.am: Added new files.
211 * asan/Makefile.am: Likewise.
212 * tsan/Makefile.am: Likewise.
213 * sanitizer_common/Makefile.in: Regenerated.
214 * asan/Makefile.in: Likewise.
215 * tsan/Makefile.in: Likewise.
217 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
219 * asan/Makefile.am (libasan_la_LIBADD): Replace
220 LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
221 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
222 * Makefile.in: Regenerated.
223 * configure: Likewise.
224 * asan/Makefile.in: Likewise.
225 * interception/Makefile.in: Likewise.
226 * sanitizer_common/Makefile.in: Likewise.
227 * tsan/Makefile.in: Likewise.
229 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
231 * Makefile.am (AM_MAKEFLAGS): Restored.
232 * interception/Makefile.am: Likewise.
233 * sanitizer_common/Makefile.am: Likewise.
234 * tsan/Makefile.am: Likewise.
235 * Makefile.in: Regenerated.
236 * asan/Makefile.in: Likewise.
237 * interception/Makefile.in: Likewise.
238 * sanitizer_common/Makefile.in: Likewise.
239 * tsan/Makefile.in: Likewise.
241 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
243 * Makefile.am (MAKEOVERRIDES): Restored.
244 * asan/Makefile.am: Likewise.
245 * interception/Makefile.am: Likewise.
246 * sanitizer_common/Makefile.am: Likewise.
247 * tsan/Makefile.am: Likewise.
248 * Makefile.in: Regenerated.
249 * asan/Makefile.in: Likewise.
250 * interception/Makefile.in: Likewise.
251 * sanitizer_common/Makefile.in: Likewise.
252 * tsan/Makefile.in: Likewise.
254 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
256 * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
257 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
258 * Makefile.in: Regenerated.
259 * configure: Likewise.
260 * asan/Makefile.in: Likewise.
261 * interception/Makefile.in: Likewise.
262 * sanitizer_common/Makefile.in: Likewise.
263 * tsan/Makefile.in: Likewise.
265 2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
267 * Makefile.am (AM_MAKEFLAGS): Removed.
268 (MAKEOVERRIDES): Likewise.
269 * asan/Makefile.am: Likewise.
270 * interception/Makefile.am: Likewise.
271 * sanitizer_common/Makefile.am: Likewise.
272 * tsan/Makefile.am: Likewise.
273 * Makefile.in: Regenerated.
274 * asan/Makefile.in: Likewise.
275 * interception/Makefile.in: Likewise.
276 * sanitizer_common/Makefile.in: Likewise.
277 * tsan/Makefile.in: Likewise.
279 2012-12-11 H.J. Lu <hongjiu.lu@intel.com>
282 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
283 * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
284 * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
285 (AM_MAKEFLAGS): Remove CC and CXX.
286 * interception/Makefile.am: Likewise.
287 * sanitizer_common/Makefile.am: Likewise.
288 * tsan/Makefile.am: Likewise.
289 * Makefile.in: Regenerated.
290 * aclocal.m4: Likewise.
291 * configure: Likewise.
292 * asan/Makefile.in: Likewise.
293 * interception/Makefile.in: Likewise.
294 * sanitizer_common/Makefile.in: Likewise.
295 * tsan/Makefile.in: Likewise.
297 2012-12-06 Peter Bergner <bergner@vnet.ibm.com>
299 * configure.tgt: Enable build on powerpc*-linux.
301 2012-12-06 Jack Howarth <howarth@bromo.med.uc.edu>
304 * configure.ac: Set enable_static=no on darwin.
305 * configure: Regenerated.
307 2012-12-06 Kostya Serebryany <kcc@google.com>
309 * All files: Merge from upstream r169392.
311 2012-12-05 Kostya Serebryany <kcc@google.com>
313 * All files: Merge from upstream r169371.
315 2012-12-04 Kostya Serebryany <kcc@google.com>
316 Jack Howarth <howarth@bromo.med.uc.edu>
319 * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
320 * Makefile.am: Don't build interception subdir when
321 USING_MAC_INTERPOSE defined.
322 * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
323 -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
324 Compile asan_interceptors_dynamic.cc but not libinterception
325 when USING_MAC_INTERPOSE defined.
326 * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
327 * configure: Regenerated.
328 * Makefile.in: Likewise.
329 * asan/Makefile.in: Likewise.
330 * interception/Makefile.in: Likewise.
331 * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
332 * asan/asan_mac.cc: Likewise.
333 * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
334 and use MISSING_BLOCKS_SUPPORT.
335 * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
336 * interception/mach_override/LICENSE.txt: Remove unused file.
337 * interception/mach_override/mach_override.c: Likewise.
338 * interception/mach_override/mach_override.h: Likewise.
339 * interception/mach_override: Remove unused directory.
341 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
343 * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
344 * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
345 * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
347 (AM_MAKEFLAGS): Restore CC and CXX.
348 * interception/Makefile.am: Likewise.
349 * sanitizer_common/Makefile.am: Likewise.
350 * tsan/Makefile.am: Likewise.
351 * Makefile.in: Regenerated.
352 * aclocal.m4: Likewise.
353 * configure: Likewise.
354 * asan/Makefile.in: Likewise.
355 * interception/Makefile.in: Likewise.
356 * sanitizer_common/Makefile.in: Likewise.
357 * tsan/Makefile.in: Likewise.
359 2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
361 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
362 * configure.ac (ACX_NONCANONICAL_TARGET): New.
363 * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
365 (AM_MAKEFLAGS): Remove CC and CXX.
366 * interception/Makefile.am: Likewise.
367 * sanitizer_common/Makefile.am: Likewise.
368 * tsan/Makefile.am: Likewise.
369 * Makefile.in: Regenerated.
370 * aclocal.m4: Likewise.
371 * configure: Likewise.
372 * asan/Makefile.in: Likewise.
373 * interception/Makefile.in: Likewise.
374 * sanitizer_common/Makefile.in: Likewise.
375 * tsan/Makefile.in: Likewise.
377 2012-11-27 Kostya Serebryany <kcc@google.com>
379 * All files: Merge from upstream r168699.
381 2012-11-24 Kostya Serebryany <kcc@google.com>
382 Jack Howarth <howarth@bromo.med.uc.edu>
384 * interception/mach_override/mach_override.c: Migrate from llvm.
385 * interception/mach_override/mach_override.h: Likewise.
386 * interception/mach_override/LICENSE.txt: Likewise.
387 * configure.tgt: Add darwin to supported targets.
388 * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
389 * interception/Makefile.am: Compile mach_override.c when
390 USING_MACH_OVERRIDE defined.
391 * configure: Regenerated.
392 * interception/Makefile.in: Likewise.
394 2012-11-23 H.J. Lu <hongjiu.lu@intel.com>
397 * tsan/Makefile.am (gcc_version): New.
398 * tsan/Makefile.in: Regenerated.
400 2012-11-23 Kostya Serebryany <kcc@google.com>
402 * merge.sh: Support tsan, support added/removed files.
403 * tsan/Makefile.am: Remove tsan_printf.cc.
404 * tsan/Makefile.in: Regenerated.
405 * other files: Merge from upstream r168514.
407 2012-11-23 Kostya Serebryany <kcc@google.com>
409 * merge.sh: New file.
411 2012-11-23 Jakub Jelinek <jakub@redhat.com>
413 * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
414 * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
415 automake conditional instead of !MULTISUBDIR32.
416 * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
418 * configure.ac: Check for void * size, source in configure.tgt,
419 define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
420 * configure: Regenerated.
421 * Makefile.in: Regenerated.
422 * tsan/Makefile.in: Regenerated.
424 2012-11-22 Wei Mi <wmi@google.com>
426 * tsan: New directory. Import tsan runtime from llvm.
427 * configure.ac: Add 64 bits tsan build.
428 * Makefile.am: Likewise.
429 * configure: Regenerated.
430 * Makefile.in: Likewise.
432 2012-11-21 Kostya Serebryany <kcc@google.com>
434 * README.gcc: Extend the README.gcc with mode details.
436 2012-11-20 Konstantin Serebryany <konstantin.s.serebryany@gmail.com>
438 * sanitizer_common/sanitizer_linux.cc
439 (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
440 (internal_mmap): Use it.
441 (internal_filesize): Likewise.
443 2012-11-16 Tom Tromey <tromey@redhat.com>
445 * configure.ac: Invoke AM_MAINTAINER_MODE.
446 * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
447 interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
449 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
452 * include/sanitizer/common_interface_defs.h (uhwptr): New type
453 for hardware pointer.
454 * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
455 Replace uptr with uhwptr for stack unwind.
457 2012-11-16 Dodji Seketeli <dodji@redhat.com>
459 * configure.tgt: Enable build on sparc linux.
461 2012-11-15 H.J. Lu <hongjiu.lu@intel.com>
463 * configure.ac: Properly set MULTISUBDIR.
464 * asan/Makefile.am (gcc_version): New.
465 * interception/Makefile.am (gcc_version): Likewise.
466 * sanitizer_common/Makefile.am (gcc_version): Likewise.
467 * configure: Regenerated.
468 * asan/Makefile.in: Likewise.
469 * interception/Makefile.in: Likewise.
470 * sanitizer_common/Makefile.in: Likewise.
472 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
475 * configure.ac (--enable-version-specific-runtime-libs): New option.
476 (AC_CANONICAL_SYSTEM): New.
477 (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
478 (toolexecdir): Support multilib.
479 (toolexeclibdir): Likewise.
481 * Makefile.in: Regenerated.
482 * aclocal.m4: Likewise.
483 * configure: Likewise.
484 * asan/Makefile.in: Likewise.
485 * interception/Makefile.in: Likewise.
486 * sanitizer_common/Makefile.in: Likewise.
488 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
491 Backport from upstream revision 167883
492 * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
493 __x86_64__ instead of __WORDSIZE.
494 (internal_filesize): Likwise.
496 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
498 * configure.ac (AC_CONFIG_AUX_DIR): Removed.
499 * Makefile.in: Regenerated.
500 * configure: Likewise.
502 2012-11-13 H.J. Lu <hongjiu.lu@intel.com>
505 * acinclude.m4: New file.
506 * Makefile.am (ACLOCAL_AMFLAGS): New.
507 * configure.ac (AC_PREREQ): Set to 2.64.
508 (AC_CONFIG_AUX_DIR): Set to "..".
509 * Makefile.in: Regenerated.
510 * aclocal.m4: Likewise.
511 * configure: Likewise.
512 * asan/Makefile.in: Likewise.
513 * interception/Makefile.in: Likewise.
514 * sanitizer_common/Makefile.in: Likewise.
516 * config.guess: Removed.
517 * config.sub: Likewise.
519 * install-sh: Likewise.
520 * ltmain.sh: Likewise.
523 2012-11-13 Richard Henderson <rth@redhat.com>
525 * configure.tgt: New file.
527 2012-11-12 David S. Miller <davem@davemloft.net>
529 * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
531 2012-10-29 Wei Mi <wmi@google.com>
533 Initial checkin: migrate asan runtime from llvm.