2013-02-06 Richard Biener <rguenther@suse.de>
[official-gcc.git] / libsanitizer / ChangeLog
blobe52cbea54393ea71d618c6b28b39ac135ce67d54
1 2013-01-23  Kostya Serebryany  <kcc@google.com>
3         PR sanitizer/55989
4         * All source files: Merge from upstream r173241.
5         * merge.sh: Support merging .inc files.
7 2013-01-16  Jakub Jelinek  <jakub@redhat.com>
9         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
10         -Wno-c99-extensions.
11         * interception/Makefile.am (AM_CXXFLAGS): Likewise.
12         * asan/Makefile.am (AM_CXXFLAGS): Likewise.
13         * sanitizer_common/Makefile.in: Regenerated.
14         * interception/Makefile.in: Regenerated.
15         * asan/Makefile.in: Regenerated.
17 2013-01-10  Wei Mi  <wmi@google.com>
19         PR sanitizer/55488
20         * tsan/Makefile.am: Add tsan_rtl_amd64.S.
21         * tsan/Makefile.in: Regenerated.
22         * tsan/tsan_rtl.h: Enable HACKY_CALL.
24 2013-01-10  Kostya Serebryany  <kcc@google.com>
26         * All source files: Merge from upstream r171973.
27         * sanitizer_common/Makefile.am: Added new files.
28         * asan/Makefile.am: Likewise.
29         * tsan/Makefile.am: Likewise.
30         * sanitizer_common/Makefile.in: Regenerated.
31         * asan/Makefile.in: Likewise.
32         * tsan/Makefile.in: Likewise.
34 2013-01-07  H.J. Lu  <hongjiu.lu@intel.com>
36         * asan/Makefile.am (libasan_la_LIBADD): Replace
37         LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
38         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
39         * Makefile.in: Regenerated.
40         * configure: Likewise.
41         * asan/Makefile.in: Likewise.
42         * interception/Makefile.in: Likewise.
43         * sanitizer_common/Makefile.in: Likewise.
44         * tsan/Makefile.in: Likewise.
46 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
48         * Makefile.am (AM_MAKEFLAGS): Restored.
49         * interception/Makefile.am: Likewise.
50         * sanitizer_common/Makefile.am: Likewise.
51         * tsan/Makefile.am: Likewise.
52         * Makefile.in: Regenerated.
53         * asan/Makefile.in: Likewise.
54         * interception/Makefile.in: Likewise.
55         * sanitizer_common/Makefile.in: Likewise.
56         * tsan/Makefile.in: Likewise.
58 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
60         * Makefile.am (MAKEOVERRIDES): Restored.
61         * asan/Makefile.am: Likewise.
62         * interception/Makefile.am: Likewise.
63         * sanitizer_common/Makefile.am: Likewise.
64         * tsan/Makefile.am: Likewise.
65         * Makefile.in: Regenerated.
66         * asan/Makefile.in: Likewise.
67         * interception/Makefile.in: Likewise.
68         * sanitizer_common/Makefile.in: Likewise.
69         * tsan/Makefile.in: Likewise.
71 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
73         * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
74         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
75         * Makefile.in: Regenerated.
76         * configure: Likewise.
77         * asan/Makefile.in: Likewise.
78         * interception/Makefile.in: Likewise.
79         * sanitizer_common/Makefile.in: Likewise.
80         * tsan/Makefile.in: Likewise.
82 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
84         * Makefile.am (AM_MAKEFLAGS): Removed.
85         (MAKEOVERRIDES): Likewise.
86         * asan/Makefile.am: Likewise.
87         * interception/Makefile.am: Likewise.
88         * sanitizer_common/Makefile.am: Likewise.
89         * tsan/Makefile.am: Likewise.
90         * Makefile.in: Regenerated.
91         * asan/Makefile.in: Likewise.
92         * interception/Makefile.in: Likewise.
93         * sanitizer_common/Makefile.in: Likewise.
94         * tsan/Makefile.in: Likewise.
96 2012-12-11  H.J. Lu  <hongjiu.lu@intel.com>
98         PR sanitizer/55533
99         * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
100         * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
101         * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
102         (AM_MAKEFLAGS): Remove CC and CXX.
103         * interception/Makefile.am: Likewise.
104         * sanitizer_common/Makefile.am: Likewise.
105         * tsan/Makefile.am: Likewise.
106         * Makefile.in: Regenerated.
107         * aclocal.m4: Likewise.
108         * configure: Likewise.
109         * asan/Makefile.in: Likewise.
110         * interception/Makefile.in: Likewise.
111         * sanitizer_common/Makefile.in: Likewise.
112         * tsan/Makefile.in: Likewise.
114 2012-12-06  Peter Bergner  <bergner@vnet.ibm.com>
116         * configure.tgt: Enable build on powerpc*-linux.
118 2012-12-06  Jack Howarth <howarth@bromo.med.uc.edu>
120         PR 55599/sanitizer
121         * configure.ac: Set enable_static=no on darwin.
122         * configure: Regenerated.
124 2012-12-06  Kostya Serebryany  <kcc@google.com>
126         * All files: Merge from upstream r169392.
128 2012-12-05  Kostya Serebryany  <kcc@google.com>
130         * All files: Merge from upstream r169371.
132 2012-12-04  Kostya Serebryany  <kcc@google.com>
133             Jack Howarth <howarth@bromo.med.uc.edu>
135         PR 55521/sanitizer
136         * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
137         * Makefile.am: Don't build interception subdir when
138         USING_MAC_INTERPOSE defined.
139         * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
140         -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
141         Compile asan_interceptors_dynamic.cc but not libinterception
142         when USING_MAC_INTERPOSE defined.
143         * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
144         * configure: Regenerated.
145         * Makefile.in: Likewise.
146         * asan/Makefile.in: Likewise.
147         * interception/Makefile.in: Likewise.
148         * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
149         * asan/asan_mac.cc: Likewise.
150         * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
151         and use MISSING_BLOCKS_SUPPORT.
152         * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
153         * interception/mach_override/LICENSE.txt: Remove unused file.
154         * interception/mach_override/mach_override.c: Likewise.
155         * interception/mach_override/mach_override.h: Likewise.
156         * interception/mach_override: Remove unused directory.
158 2012-11-28  H.J. Lu  <hongjiu.lu@intel.com>
160         * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
161         * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
162         * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
163         files.
164         (AM_MAKEFLAGS): Restore CC and CXX.
165         * interception/Makefile.am: Likewise.
166         * sanitizer_common/Makefile.am: Likewise.
167         * tsan/Makefile.am: Likewise.
168         * Makefile.in: Regenerated.
169         * aclocal.m4: Likewise.
170         * configure: Likewise.
171         * asan/Makefile.in: Likewise.
172         * interception/Makefile.in: Likewise.
173         * sanitizer_common/Makefile.in: Likewise.
174         * tsan/Makefile.in: Likewise.
176 2012-11-28  H.J. Lu  <hongjiu.lu@intel.com>
178         * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
179         * configure.ac (ACX_NONCANONICAL_TARGET): New.
180         * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
181         files.
182         (AM_MAKEFLAGS): Remove CC and CXX.
183         * interception/Makefile.am: Likewise.
184         * sanitizer_common/Makefile.am: Likewise.
185         * tsan/Makefile.am: Likewise.
186         * Makefile.in: Regenerated.
187         * aclocal.m4: Likewise.
188         * configure: Likewise.
189         * asan/Makefile.in: Likewise.
190         * interception/Makefile.in: Likewise.
191         * sanitizer_common/Makefile.in: Likewise.
192         * tsan/Makefile.in: Likewise.
194 2012-11-27  Kostya Serebryany  <kcc@google.com>
196         * All files: Merge from upstream r168699.
198 2012-11-24  Kostya Serebryany  <kcc@google.com>
199             Jack Howarth <howarth@bromo.med.uc.edu>
201         * interception/mach_override/mach_override.c: Migrate from llvm.
202         * interception/mach_override/mach_override.h: Likewise.
203         * interception/mach_override/LICENSE.txt: Likewise.
204         * configure.tgt: Add darwin to supported targets.
205         * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
206         * interception/Makefile.am: Compile mach_override.c when
207         USING_MACH_OVERRIDE defined.
208         * configure: Regenerated.
209         * interception/Makefile.in: Likewise.
211 2012-11-23  H.J. Lu  <hongjiu.lu@intel.com>
213         PR sanitizer/55450
214         * tsan/Makefile.am (gcc_version): New.
215         * tsan/Makefile.in: Regenerated.
217 2012-11-23  Kostya Serebryany  <kcc@google.com>
219         * merge.sh: Support tsan, support added/removed files.
220         * tsan/Makefile.am: Remove tsan_printf.cc.
221         * tsan/Makefile.in: Regenerated.
222         * other files: Merge from upstream r168514.
224 2012-11-23  Kostya Serebryany  <kcc@google.com>
226         * merge.sh: New file.
228 2012-11-23  Jakub Jelinek  <jakub@redhat.com>
230         * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
231         * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
232         automake conditional instead of !MULTISUBDIR32.
233         * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
234         for 64-bit multilib.
235         * configure.ac: Check for void * size, source in configure.tgt,
236         define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
237         * configure: Regenerated.
238         * Makefile.in: Regenerated.
239         * tsan/Makefile.in: Regenerated.
241 2012-11-22  Wei Mi  <wmi@google.com>
243         * tsan: New directory. Import tsan runtime from llvm.
244         * configure.ac: Add 64 bits tsan build.
245         * Makefile.am: Likewise.
246         * configure: Regenerated.
247         * Makefile.in: Likewise.
249 2012-11-21  Kostya Serebryany  <kcc@google.com>
251         * README.gcc: Extend the README.gcc with mode details.
253 2012-11-20  Konstantin Serebryany  <konstantin.s.serebryany@gmail.com>
255         * sanitizer_common/sanitizer_linux.cc
256         (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
257         (internal_mmap): Use it.
258         (internal_filesize): Likewise.
260 2012-11-16  Tom Tromey  <tromey@redhat.com>
262         * configure.ac: Invoke AM_MAINTAINER_MODE.
263         * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
264         interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
266 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
268         PR other/55333
269         * include/sanitizer/common_interface_defs.h (uhwptr): New type
270         for hardware pointer.
271         * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
272         Replace uptr with uhwptr for stack unwind.
274 2012-11-16  Dodji Seketeli  <dodji@redhat.com>
276         * configure.tgt: Enable build on sparc linux.
278 2012-11-15  H.J. Lu  <hongjiu.lu@intel.com>
280         * configure.ac: Properly set MULTISUBDIR.
281         * asan/Makefile.am (gcc_version): New.
282         * interception/Makefile.am (gcc_version): Likewise.
283         * sanitizer_common/Makefile.am (gcc_version): Likewise.
284         * configure: Regenerated.
285         * asan/Makefile.in: Likewise.
286         * interception/Makefile.in: Likewise.
287         * sanitizer_common/Makefile.in: Likewise.
289 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
291         PR other/55291
292         * configure.ac (--enable-version-specific-runtime-libs): New option.
293         (AC_CANONICAL_SYSTEM): New.
294         (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
295         (toolexecdir): Support multilib.
296         (toolexeclibdir): Likewise.
297         (multilib_arg): New.
298         * Makefile.in: Regenerated.
299         * aclocal.m4: Likewise.
300         * configure: Likewise.
301         * asan/Makefile.in: Likewise.
302         * interception/Makefile.in: Likewise.
303         * sanitizer_common/Makefile.in: Likewise.
305 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
307         PR other/55292
308         Backport from upstream revision 167883
309         * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
310         __x86_64__ instead of __WORDSIZE.
311         (internal_filesize): Likwise.
313 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
315         * configure.ac (AC_CONFIG_AUX_DIR): Removed.
316         * Makefile.in: Regenerated.
317         * configure: Likewise.
319 2012-11-13  H.J. Lu  <hongjiu.lu@intel.com>
321         PR other/55304
322         * acinclude.m4: New file.
323         * Makefile.am (ACLOCAL_AMFLAGS): New.
324         * configure.ac (AC_PREREQ): Set to 2.64.
325         (AC_CONFIG_AUX_DIR): Set to "..".
326         * Makefile.in: Regenerated.
327         * aclocal.m4: Likewise.
328         * configure: Likewise.
329         * asan/Makefile.in: Likewise.
330         * interception/Makefile.in: Likewise.
331         * sanitizer_common/Makefile.in: Likewise.
333         * config.guess: Removed.
334         * config.sub: Likewise.
335         * depcomp: Likewise.
336         * install-sh: Likewise.
337         * ltmain.sh: Likewise.
338         * missing: Likewise.
340 2012-11-13  Richard Henderson  <rth@redhat.com>
342         * configure.tgt: New file.
344 2012-11-12  David S. Miller  <davem@davemloft.net>
346         * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
348 2012-10-29  Wei Mi  <wmi@google.com>
350         Initial checkin: migrate asan runtime from llvm.