]>
Commit | Line | Data |
---|---|---|
866e32ad KS |
1 | 2014-09-19 Kostya Serebryany <kcc@google.com> |
2 | ||
3 | * All source files: Merge from upstream r218156. | |
4 | * asan/Makefile.am (asan_files): Added new files. | |
5 | * asan/Makefile.in: Regenerate. | |
6 | * ubsan/Makefile.am (ubsan_files): Added new files. | |
7 | * ubsan/Makefile.in: Regenerate. | |
8 | * tsan/Makefile.am (tsan_files): Added new files. | |
9 | * tsan/Makefile.in: Regenerate. | |
10 | * sanitizer_common/Makefile.am (sanitizer_common_files): Added new | |
11 | files. | |
12 | * sanitizer_common/Makefile.in: Regenerate. | |
13 | * asan/libtool-version: Bump the libasan SONAME. | |
14 | ||
126edc3f JJ |
15 | 2014-09-10 Jakub Jelinek <jakub@redhat.com> |
16 | ||
17 | * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick | |
18 | upstream r215485, r217389, r217391 and r217400. | |
19 | ||
0d807c80 PC |
20 | 2014-06-23 Paolo Carlini <paolo.carlini@oracle.com> |
21 | ||
22 | * sanitizer_common/sanitizer_common_interceptors.inc: | |
23 | Cherry pick upstream r211008. | |
24 | ||
4622301b RB |
25 | 2014-06-11 Richard Biener <rguenther@suse.de> |
26 | ||
27 | * asan/asan_linux.cc: Cherry pick upstream r210012. | |
28 | ||
ecd5543f JJ |
29 | 2014-05-30 Jakub Jelinek <jakub@redhat.com> |
30 | ||
31 | * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream | |
32 | r209879. | |
33 | * sanitizer_common/sanitizer_common.h: Likewise. | |
34 | * asan/asan_mapping.h: Likewise. | |
35 | * asan/asan_linux.cc: Likewise. | |
36 | * tsan/tsan_mman.cc: Cherry pick upstream r209744. | |
37 | * sanitizer_common/sanitizer_allocator.h: Likewise. | |
38 | ||
85a16bf8 MP |
39 | 2014-05-23 Marek Polacek <polacek@redhat.com> |
40 | ||
41 | * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit | |
42 | floating-point types. | |
43 | ||
dee5ea7a KS |
44 | 2014-05-22 Kostya Serebryany <kcc@google.com> |
45 | ||
46 | * All source files: Merge from upstream r209283. | |
47 | * asan/Makefile.am (asan_files): Added new files. | |
48 | * asan/Makefile.in: Regenerate. | |
49 | * tsan/Makefile.am (tsan_files): Added new files. | |
50 | * tsan/Makefile.in: Regenerate. | |
0d807c80 PC |
51 | * sanitizer_common/Makefile.am (sanitizer_common_files): Added new |
52 | files. | |
dee5ea7a KS |
53 | * sanitizer_common/Makefile.in: Regenerate. |
54 | ||
2675305b YG |
55 | 2014-05-14 Yury Gribov <y.gribov@samsung.com> |
56 | ||
57 | PR sanitizer/61100 | |
58 | * Makefile.am (nodist_saninclude_HEADERS): Install | |
59 | public headers. | |
60 | * Makefile.in: Regenerate. | |
61 | ||
a6c9ab4e RO |
62 | 2014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
63 | ||
64 | * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): | |
65 | Add ../../libbacktrace/sort.c. | |
66 | * libbacktrace/Makefile.in: Regenerate. | |
67 | * libbacktrace/backtrace-rename.h (backtrace_qsort): Define. | |
68 | ||
a42a7046 BS |
69 | 2014-03-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
70 | ||
71 | * configure.tgt: Unsupported for little endian PowerPC for now. | |
72 | ||
5ab39ec3 JJ |
73 | 2014-02-04 Jakub Jelinek <jakub@redhat.com> |
74 | ||
81c87471 JJ |
75 | PR sanitizer/60055 |
76 | * tsan/tsan_flags.cc (__tsan_default_options): Add | |
77 | SANITIZER_INTERFACE_ATTRIBUTE. Backport from upstream r200747. | |
78 | * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise. | |
79 | ||
5ab39ec3 JJ |
80 | PR sanitizer/60038 |
81 | * sanitizer_common/sanitizer_linux_libcdep.cc: Include | |
82 | sanitizer_atomic.h and unistd.h. | |
83 | (kThreadDescriptorSize): Made static, remove initializer and const, | |
84 | change type to atomic_uintptr_t. | |
85 | (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to | |
86 | query glibc version, compute kThreadDescriptorSize depending on | |
87 | glibc version minor number. | |
88 | (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of | |
89 | kThreadDescriptorSize directly. | |
90 | ||
4a7eaf5f YG |
91 | 2014-01-23 Yury Gribov <y.gribov@samsung.com> |
92 | Jakub Jelinek <jakub@redhat.com> | |
93 | ||
94 | PR sanitizer/57316 | |
95 | * configure.ac: Check for missing syscalls. | |
96 | * Makefile.am: Likewise. | |
97 | * configure: Regenerate. | |
98 | * Makefile.in: Regenerate. | |
99 | ||
2613419a JJ |
100 | 2014-01-09 Jakub Jelinek <jakub@redhat.com> |
101 | ||
b5f58ba3 JJ |
102 | * sanitizer_common/sanitizer_symbolizer_libbacktrace.h |
103 | (LibbacktraceSymbolizer::Demangle): New declaration. | |
104 | * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc | |
105 | (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle | |
106 | method if possible. | |
107 | * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include | |
108 | "demangle.h" if SANITIZE_CP_DEMANGLE is defined. | |
109 | (struct CplusV3DemangleData): New type. | |
110 | (CplusV3DemangleCallback, CplusV3Demangle): New functions. | |
111 | (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback, | |
112 | SymbolizeDataCallback): Use CplusV3Demangle. | |
113 | * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add | |
114 | -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include. | |
115 | * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types, | |
116 | cplus_demangle_fill_ctor, cplus_demangle_fill_dtor, | |
117 | cplus_demangle_fill_extended_operator, cplus_demangle_fill_name, | |
118 | cplus_demangle_init_info, cplus_demangle_mangled_name, | |
119 | cplus_demangle_operators, cplus_demangle_print, | |
120 | cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3, | |
121 | cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor, | |
122 | is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback): | |
123 | Define. | |
124 | (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes. | |
125 | (memcmp, strncmp): Redefine. | |
126 | * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add | |
127 | ../../libiberty/cp-demangle.c. | |
128 | * libbacktrace/bridge.cc (__asan_internal_memcmp, | |
129 | __asan_internal_strncmp): New functions. | |
130 | * sanitizer_common/Makefile.in: Regenerated. | |
131 | * libbacktrace/Makefile.in: Regenerated. | |
132 | * configure: Regenerated. | |
133 | * configure.ac: Regenerated. | |
134 | * config.h.in: Regenerated. | |
135 | ||
2613419a JJ |
136 | * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add |
137 | -isystem $(top_srcdir)/include/system. | |
138 | * sanitizer_common/Makefile.in: Regenerated. | |
139 | * include/system/linux/aio_abi.h: New header. | |
140 | * include/system/linux/mroute.h: New header. | |
141 | * include/system/linux/mroute6.h: New header. | |
142 | * include/system/linux/perf_event.h: New header. | |
143 | * include/system/linux/types.h: New header. | |
c915a581 JJ |
144 | |
145 | PR sanitizer/59136 | |
146 | * sanitizer_common/Makefile.am (AM_CXXFLAGS): If | |
147 | LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE | |
148 | and -I/-include flags. | |
149 | * lsan/Makefile.am (liblsan_la_LIBADD): Add | |
150 | libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED. | |
151 | * tsan/Makefile.am (libtsan_la_LIBADD): Likewise. | |
152 | * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise. | |
153 | * asan/Makefile.am (libasan_la_LIBADD): Likewise. | |
154 | * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add | |
155 | libbacktrace. | |
156 | * README.gcc: Document that also lsan and ubsan are | |
157 | maintained in compiler-rt upstream. | |
158 | * libbacktrace/Makefile.am: New file. | |
159 | * libbacktrace/backtrace-rename.h: New file. | |
160 | * libbacktrace/backtrace-supported.h.in: New file. | |
161 | * libbacktrace/bridge.cc: New file. | |
162 | * configure.ac: Add tests needed for libbacktrace build | |
163 | within libsanitizer. | |
164 | * sanitizer_common/Makefile.in: Regenerated. | |
165 | * lsan/Makefile.in: Regenerated. | |
166 | * tsan/Makefile.in: Regenerated. | |
167 | * ubsan/Makefile.in: Regenerated. | |
168 | * libbacktrace/Makefile.in: Generated. | |
169 | * config.h.in: Regenerated. | |
170 | * configure: Regenerated. | |
171 | * Makefile.in: Regenerated. | |
172 | * interception/Makefile.in: Regenerated. | |
173 | * asan/Makefile.in: Regenerated. | |
174 | * aclocal.m4: Regenerated. | |
175 | ||
409f3b46 KS |
176 | 2013-12-19 Kostya Serebryany <kcc@google.com> |
177 | ||
178 | * sanitizer_common/sanitizer_platform_limits_posix.cc: | |
179 | workaround for missing definition of EOWNERDEAD, backport | |
180 | from upstream r196779. | |
181 | ||
079db27b L |
182 | 2013-12-06 H.J. Lu <hongjiu.lu@intel.com> |
183 | ||
184 | * sanitizer_common/sanitizer_platform_limits_posix.h | |
185 | (__sanitizer_shmid_ds): Use u64 on time fields for x32. | |
186 | (__sanitizer_clock_t): Use long long for x32. | |
187 | ||
7efb96c0 L |
188 | 2013-12-06 H.J. Lu <hongjiu.lu@intel.com> |
189 | ||
190 | * sanitizer_common/sanitizer_platform_limits_linux.cc: Include | |
191 | <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined. | |
192 | (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined. | |
193 | ||
df9d1700 L |
194 | 2013-12-05 H.J. Lu <hongjiu.lu@intel.com> |
195 | ||
196 | * configure.ac (link_sanitizer_common): Add -lm. | |
197 | * configure: Regenerated. | |
198 | ||
c4c16f74 KS |
199 | 2013-12-05 Kostya Serebryany <kcc@google.com> |
200 | ||
201 | * All source files: Merge from upstream r196489. | |
202 | * merge.sh: Add *.S to the list of merged files. | |
203 | ||
666ee4d6 YG |
204 | 2013-12-05 Yury Gribov <y.gribov@samsung.com> |
205 | ||
206 | PR sanitizer/59368 | |
207 | * Makefile.am (gcc_version): Added gcc_version. | |
208 | * Makefile.in: Regenerate. | |
209 | ||
df77f0e4 KS |
210 | 2013-12-05 Kostya Serebryany <kcc@google.com> |
211 | ||
212 | * All source files: Merge from upstream r196090. | |
213 | * tsan/Makefile.am (tsan_files): Added new files. | |
214 | * tsan/Makefile.in: Regenerate. | |
215 | * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles. | |
216 | * sanitizer_common/Makefile.in: Regenerate. | |
217 | * lsan/Makefile.am (lsan_files): Added new files. | |
218 | * lsan/Makefile.in: Regenerate. | |
219 | ||
35814b03 JJ |
220 | 2013-11-29 Jakub Jelinek <jakub@redhat.com> |
221 | Yury Gribov <y.gribov@samsung.com> | |
222 | ||
223 | PR sanitizer/59063 | |
224 | * libsanitizer.spec.in: Add spec file to hold link flags for | |
225 | various sanitizer libs. | |
226 | * configure.ac: Check whether clock_* routines come from librt. | |
227 | * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from | |
228 | configure.ac. | |
229 | * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise. | |
230 | * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise. | |
231 | * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise. | |
232 | * asan/Makefile.in: Regenerate. | |
233 | * interception/Makefile.in: Regenerate. | |
234 | * lsan/Makefile.in: Regenerate. | |
235 | * sanitizer_common/Makefile.in: Regenerate. | |
236 | * tsan/Makefile.in: Regenerate. | |
237 | * ubsan/Makefile.in: Regenerate. | |
238 | * Makefile.in: Regenerate. | |
239 | * configure: Regenerate. | |
240 | ||
049558ed JJ |
241 | 2013-11-28 Jakub Jelinek <jakub@redhat.com> |
242 | Yury Gribov <y.gribov@samsung.com> | |
243 | ||
244 | PR sanitizer/59106 | |
245 | * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that | |
246 | don't need it. | |
247 | * ubsan/Makefile.in: Regenerated. | |
248 | ||
9065ada9 JJ |
249 | 2013-11-22 Jakub Jelinek <jakub@redhat.com> |
250 | ||
251 | PR sanitizer/59061 | |
252 | * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux. | |
253 | * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL. | |
254 | * configure: Regenerated. | |
255 | * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files, | |
256 | liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add. | |
257 | * lsan/Makefile.in: Regenerated. | |
258 | ||
486294d4 MS |
259 | 2013-11-22 Mike Stump <mikestump@comcast.net> |
260 | ||
261 | * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one | |
262 | change from upstream to fix build. | |
263 | ||
2621c860 YG |
264 | 2013-11-18 Yury Gribov <y.gribov@samsung.com> |
265 | ||
266 | PR sanitizer/59106 | |
267 | * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti. | |
268 | * interception/Makefile.am (AM_CXXFLAGS): Likewise. | |
269 | * lsan/Makefile.am (AM_CXXFLAGS): Likewise. | |
270 | * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise. | |
271 | * tsan/Makefile.am (AM_CXXFLAGS): Likewise. | |
272 | * asan/Makefile.in: Regenerate. | |
273 | * interception/Makefile.in: Regenerate. | |
274 | * tsan/Makefile.in: Regenerate. | |
275 | * lsan/Makefile.in: Regenerate. | |
276 | * sanitizer_common/Makefile.in: Regenerate. | |
277 | ||
c8e1377b KS |
278 | 2013-11-15 Kostya Serebryany <kcc@google.com> |
279 | ||
280 | PR sanitizer/58994 | |
281 | Backport from upstream revision 194573 | |
282 | * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall | |
283 | back to the original functions in the common libsanitizer | |
284 | interceptors and the __cxa_atexit() interceptor on Darwin. | |
285 | ||
c3d77f3a PB |
286 | 2013-11-13 Peter Bergner <bergner@vnet.ibm.com> |
287 | ||
288 | PR sanitizer/59009 | |
289 | * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily | |
290 | ifdef out more source. | |
291 | ||
d00106f4 JJ |
292 | 2013-11-12 Jakub Jelinek <jakub@redhat.com> |
293 | ||
294 | * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily | |
295 | ifdef out almost the whole source. | |
296 | * sanitizer_common/sanitizer_common_syscalls.inc: Likewise. | |
297 | ||
e276866f L |
298 | 2013-11-05 H.J. Lu <hongjiu.lu@intel.com> |
299 | ||
300 | PR sanitizer/59018 | |
301 | * sanitizer_common/sanitizer_platform_limits_posix.cc | |
302 | (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is | |
303 | defined. | |
304 | ||
f5c36cfc L |
305 | 2013-11-05 H.J. Lu <hongjiu.lu@intel.com> |
306 | ||
307 | PR sanitizer/59018 | |
308 | * sanitizer_common/sanitizer_platform_limits_linux.cc | |
309 | (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is | |
310 | defined. | |
311 | * sanitizer_common/sanitizer_platform_limits_posix.h | |
312 | (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is | |
313 | defined. | |
314 | (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__ | |
315 | is defined. | |
316 | (__sanitizer___kernel_gid_t): Likewise. | |
317 | (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__ | |
318 | is defined. | |
319 | ||
e45de14e L |
320 | 2013-11-05 H.J. Lu <hongjiu.lu@intel.com> |
321 | ||
322 | PR sanitizer/59018 | |
323 | * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate | |
324 | 2 64-bit integers to save and restore fn and arg. Properly load | |
325 | newtls/child_tidptr into r8/r10. | |
326 | ||
38693e39 L |
327 | 2013-11-05 H.J. Lu <hongjiu.lu@intel.com> |
328 | ||
329 | PR sanitizer/59018 | |
330 | * sanitizer_common/sanitizer_linux.cc (internal_mmap, | |
331 | internal_munmap, internal_open, internal_read, internal_write, | |
332 | internal_stat, internal_lstat, internal_fstat, internal_readlink, | |
333 | internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock, | |
334 | BlockingMutex::Unlock, internal_ptrace, internal_getdents, | |
335 | internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls. | |
336 | ||
ef1b3fda KS |
337 | 2013-11-04 Kostya Serebryany <kcc@google.com> |
338 | ||
339 | * All source files: Merge from upstream r191666. | |
340 | * merge.sh: Added lsan. | |
341 | * configure.ac (AC_CONFIG_FILES): Added lsan. | |
342 | * Makefile.am (SUBDIRS): Added lsan. | |
343 | * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles. | |
344 | * asan/Makefile.am (asan_files): Added new files. | |
345 | (libasan_la_LIBADD): Added a dependency on lsan. | |
346 | * lsan/Makefile.am: New file. | |
347 | * asan/Makefile.in: Regenerate. | |
348 | * lsan/Makefile.in: Regenerate. | |
349 | * Makefile.in: Regenerate. | |
350 | * configure: Regenerate. | |
351 | * sanitizer_common/Makefile.in: Regenerate. | |
352 | ||
3cbe17f7 AM |
353 | 2013-09-20 Alan Modra <amodra@gmail.com> |
354 | ||
355 | * configure: Regenerate. | |
356 | ||
0cea211e IS |
357 | 2013-09-01 Iain Sandoe <iain@codesourcery.com> |
358 | ||
359 | * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit | |
360 | libinterception.la for Darwin. | |
361 | * ubsan/Makefile.in: Regenerate. | |
362 | ||
de5a5fa1 MP |
363 | 2013-08-30 Jakub Jelinek <jakub@redhat.com> |
364 | ||
365 | * Makefile.am (SUBDIRS): Add ubsan. | |
366 | * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile. | |
367 | * merge.sh: Merge ubsan. | |
368 | * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk. | |
369 | * sanitizer_common/sanitizer_printf.cc: Likewise. | |
370 | * sanitizer_common/sanitizer_common.h: Likewise. | |
371 | * ubsan: New directory. Import ubsan runtime from llvm. | |
372 | ||
634cfa2b CL |
373 | 2013-06-03 Christophe Lyon <christophe.lyon@linaro.org> |
374 | ||
375 | * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next): | |
376 | Cherry pick upstream r182922. | |
377 | ||
8a5800b8 CL |
378 | 2013-05-07 Christophe Lyon <christophe.lyon@linaro.org> |
379 | ||
380 | * configure.tgt: Add ARM pattern. | |
381 | ||
a745e444 | 382 | 2013-03-22 Jakub Jelinek <jakub@redhat.com> |
1868beee JJ |
383 | |
384 | PR other/43620 | |
385 | * configure.ac (AM_INIT_AUTOMAKE): Add no-dist. | |
386 | * Makefile.in: Regenerated. | |
387 | * asan/Makefile.in: Regenerated. | |
388 | * interception/Makefile.in: Regenerated. | |
389 | * sanitizer_common/Makefile.in: Regenerated. | |
390 | * tsan/Makefile.in: Regenerated. | |
391 | ||
4c376126 JJ |
392 | 2013-02-28 Jakub Jelinek <jakub@redhat.com> |
393 | ||
394 | * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL. | |
395 | * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to | |
396 | 0x4fffffffffULL. | |
397 | ||
7d613735 JJ |
398 | 2013-02-22 Jakub Jelinek <jakub@redhat.com> |
399 | ||
400 | PR sanitizer/56393 | |
401 | * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to | |
402 | libasan_preinit.o. | |
403 | (libasan_preinit.o): Depend on asan_preinit.o. | |
404 | * asan/Makefile.in: Regenerated. | |
405 | * asan/asan_preinit.cc: New file, synced from upstream. | |
406 | * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream. | |
407 | ||
ecdbd01a | 408 | 2013-02-21 Jack Howarth <howarth@bromo.med.uc.edu> |
304886c5 JH |
409 | |
410 | * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated | |
411 | dynamic/asan_interceptors_dynamic.cc. | |
412 | * asan/Makefile.in: Regenerated. | |
413 | * merge.sh: Remove merge of deprecated lib/asan/dynamic. | |
414 | ||
4be7da26 JJ |
415 | 2013-02-21 Jakub Jelinek <jakub@redhat.com> |
416 | ||
417 | * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is | |
418 | defined. Add used attribute. | |
419 | ||
7df59255 KS |
420 | 2013-02-21 Kostya Serebryany <kcc@google.com> |
421 | ||
422 | * All source files: Merge from upstream r175733. | |
423 | * sanitizer_common/Makefile.am: Added a new file. | |
424 | * sanitizer_common/Makefile.in: Regenerated. | |
425 | ||
8afd2ed7 L |
426 | 2013-02-14 H.J. Lu <hongjiu.lu@intel.com> |
427 | ||
428 | PR bootstrap/56327 | |
429 | * interception/interception.h (OFF_T): Merged from upstream | |
430 | r175140. | |
431 | ||
6422242b JJ |
432 | 2013-02-13 Jakub Jelinek <jakub@redhat.com> |
433 | ||
434 | * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64. | |
435 | ||
b4ab7d34 KS |
436 | 2013-02-13 Kostya Serebryany <kcc@google.com> |
437 | ||
8afd2ed7 | 438 | PR sanitizer/56128 |
b4ab7d34 KS |
439 | * All source files: Merge from upstream r175049. |
440 | * interception/Makefile.am: added include path. | |
441 | * interception/Makefile.in: Regenerated. | |
442 | ||
34dc17ed JH |
443 | 2013-02-11 Jack Howarth <howarth@bromo.med.uc.edu> |
444 | ||
445 | * configure.tgt: Disable build on darwin9 and earlier. | |
446 | ||
2660d12d KS |
447 | 2013-01-23 Kostya Serebryany <kcc@google.com> |
448 | ||
8afd2ed7 | 449 | PR sanitizer/55989 |
2660d12d KS |
450 | * All source files: Merge from upstream r173241. |
451 | * merge.sh: Support merging .inc files. | |
452 | ||
19006c45 JJ |
453 | 2013-01-16 Jakub Jelinek <jakub@redhat.com> |
454 | ||
455 | * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove | |
456 | -Wno-c99-extensions. | |
457 | * interception/Makefile.am (AM_CXXFLAGS): Likewise. | |
458 | * asan/Makefile.am (AM_CXXFLAGS): Likewise. | |
459 | * sanitizer_common/Makefile.in: Regenerated. | |
460 | * interception/Makefile.in: Regenerated. | |
461 | * asan/Makefile.in: Regenerated. | |
462 | ||
edadb734 WM |
463 | 2013-01-10 Wei Mi <wmi@google.com> |
464 | ||
465 | PR sanitizer/55488 | |
466 | * tsan/Makefile.am: Add tsan_rtl_amd64.S. | |
467 | * tsan/Makefile.in: Regenerated. | |
468 | * tsan/tsan_rtl.h: Enable HACKY_CALL. | |
469 | ||
e9772e16 KS |
470 | 2013-01-10 Kostya Serebryany <kcc@google.com> |
471 | ||
472 | * All source files: Merge from upstream r171973. | |
473 | * sanitizer_common/Makefile.am: Added new files. | |
474 | * asan/Makefile.am: Likewise. | |
475 | * tsan/Makefile.am: Likewise. | |
476 | * sanitizer_common/Makefile.in: Regenerated. | |
477 | * asan/Makefile.in: Likewise. | |
478 | * tsan/Makefile.in: Likewise. | |
479 | ||
7f7162cf L |
480 | 2013-01-07 H.J. Lu <hongjiu.lu@intel.com> |
481 | ||
482 | * asan/Makefile.am (libasan_la_LIBADD): Replace | |
483 | LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS. | |
484 | * tsan/Makefile.am (libtsan_la_LIBADD): Likewise. | |
485 | * Makefile.in: Regenerated. | |
486 | * configure: Likewise. | |
487 | * asan/Makefile.in: Likewise. | |
488 | * interception/Makefile.in: Likewise. | |
489 | * sanitizer_common/Makefile.in: Likewise. | |
490 | * tsan/Makefile.in: Likewise. | |
491 | ||
b488a2c7 L |
492 | 2012-12-12 H.J. Lu <hongjiu.lu@intel.com> |
493 | ||
494 | * Makefile.am (AM_MAKEFLAGS): Restored. | |
495 | * interception/Makefile.am: Likewise. | |
496 | * sanitizer_common/Makefile.am: Likewise. | |
497 | * tsan/Makefile.am: Likewise. | |
498 | * Makefile.in: Regenerated. | |
499 | * asan/Makefile.in: Likewise. | |
500 | * interception/Makefile.in: Likewise. | |
501 | * sanitizer_common/Makefile.in: Likewise. | |
502 | * tsan/Makefile.in: Likewise. | |
503 | ||
e8adb21b L |
504 | 2012-12-12 H.J. Lu <hongjiu.lu@intel.com> |
505 | ||
506 | * Makefile.am (MAKEOVERRIDES): Restored. | |
507 | * asan/Makefile.am: Likewise. | |
508 | * interception/Makefile.am: Likewise. | |
509 | * sanitizer_common/Makefile.am: Likewise. | |
510 | * tsan/Makefile.am: Likewise. | |
511 | * Makefile.in: Regenerated. | |
512 | * asan/Makefile.in: Likewise. | |
513 | * interception/Makefile.in: Likewise. | |
514 | * sanitizer_common/Makefile.in: Likewise. | |
515 | * tsan/Makefile.in: Likewise. | |
516 | ||
e1e953d9 L |
517 | 2012-12-12 H.J. Lu <hongjiu.lu@intel.com> |
518 | ||
519 | * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS). | |
520 | * tsan/Makefile.am (libtsan_la_LIBADD): Likewise. | |
521 | * Makefile.in: Regenerated. | |
522 | * configure: Likewise. | |
523 | * asan/Makefile.in: Likewise. | |
524 | * interception/Makefile.in: Likewise. | |
525 | * sanitizer_common/Makefile.in: Likewise. | |
526 | * tsan/Makefile.in: Likewise. | |
527 | ||
a62d3903 L |
528 | 2012-12-12 H.J. Lu <hongjiu.lu@intel.com> |
529 | ||
530 | * Makefile.am (AM_MAKEFLAGS): Removed. | |
531 | (MAKEOVERRIDES): Likewise. | |
532 | * asan/Makefile.am: Likewise. | |
533 | * interception/Makefile.am: Likewise. | |
534 | * sanitizer_common/Makefile.am: Likewise. | |
535 | * tsan/Makefile.am: Likewise. | |
536 | * Makefile.in: Regenerated. | |
537 | * asan/Makefile.in: Likewise. | |
538 | * interception/Makefile.in: Likewise. | |
539 | * sanitizer_common/Makefile.in: Likewise. | |
540 | * tsan/Makefile.in: Likewise. | |
541 | ||
d10a2df2 L |
542 | 2012-12-11 H.J. Lu <hongjiu.lu@intel.com> |
543 | ||
544 | PR sanitizer/55533 | |
545 | * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX. | |
546 | * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New. | |
547 | * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS). | |
548 | (AM_MAKEFLAGS): Remove CC and CXX. | |
549 | * interception/Makefile.am: Likewise. | |
550 | * sanitizer_common/Makefile.am: Likewise. | |
551 | * tsan/Makefile.am: Likewise. | |
552 | * Makefile.in: Regenerated. | |
553 | * aclocal.m4: Likewise. | |
554 | * configure: Likewise. | |
555 | * asan/Makefile.in: Likewise. | |
556 | * interception/Makefile.in: Likewise. | |
557 | * sanitizer_common/Makefile.in: Likewise. | |
558 | * tsan/Makefile.in: Likewise. | |
559 | ||
957fee09 PB |
560 | 2012-12-06 Peter Bergner <bergner@vnet.ibm.com> |
561 | ||
562 | * configure.tgt: Enable build on powerpc*-linux. | |
563 | ||
ecdbd01a | 564 | 2012-12-06 Jack Howarth <howarth@bromo.med.uc.edu> |
3157880f JH |
565 | |
566 | PR 55599/sanitizer | |
d10a2df2 L |
567 | * configure.ac: Set enable_static=no on darwin. |
568 | * configure: Regenerated. | |
3157880f | 569 | |
695edbac KS |
570 | 2012-12-06 Kostya Serebryany <kcc@google.com> |
571 | ||
572 | * All files: Merge from upstream r169392. | |
573 | ||
a0408454 KS |
574 | 2012-12-05 Kostya Serebryany <kcc@google.com> |
575 | ||
576 | * All files: Merge from upstream r169371. | |
577 | ||
41d37c56 | 578 | 2012-12-04 Kostya Serebryany <kcc@google.com> |
ecdbd01a | 579 | Jack Howarth <howarth@bromo.med.uc.edu> |
8c4d267c KS |
580 | |
581 | PR 55521/sanitizer | |
582 | * configure.ac: Define USING_MAC_INTERPOSE when on darwin. | |
583 | * Makefile.am: Don't build interception subdir when | |
584 | USING_MAC_INTERPOSE defined. | |
585 | * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and | |
586 | -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined. | |
587 | Compile asan_interceptors_dynamic.cc but not libinterception | |
588 | when USING_MAC_INTERPOSE defined. | |
589 | * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE. | |
590 | * configure: Regenerated. | |
591 | * Makefile.in: Likewise. | |
592 | * asan/Makefile.in: Likewise. | |
593 | * interception/Makefile.in: Likewise. | |
594 | * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT. | |
595 | * asan/asan_mac.cc: Likewise. | |
596 | * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm | |
597 | and use MISSING_BLOCKS_SUPPORT. | |
598 | * merge.sh: Merge lib/asan/dynamic into asan/dynamic. | |
599 | * interception/mach_override/LICENSE.txt: Remove unused file. | |
600 | * interception/mach_override/mach_override.c: Likewise. | |
601 | * interception/mach_override/mach_override.h: Likewise. | |
602 | * interception/mach_override: Remove unused directory. | |
603 | ||
a23ed040 L |
604 | 2012-11-28 H.J. Lu <hongjiu.lu@intel.com> |
605 | ||
606 | * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX. | |
607 | * configure.ac (ACX_NONCANONICAL_TARGET): Removed. | |
608 | * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header | |
609 | files. | |
610 | (AM_MAKEFLAGS): Restore CC and CXX. | |
611 | * interception/Makefile.am: Likewise. | |
612 | * sanitizer_common/Makefile.am: Likewise. | |
613 | * tsan/Makefile.am: Likewise. | |
614 | * Makefile.in: Regenerated. | |
615 | * aclocal.m4: Likewise. | |
616 | * configure: Likewise. | |
617 | * asan/Makefile.in: Likewise. | |
618 | * interception/Makefile.in: Likewise. | |
619 | * sanitizer_common/Makefile.in: Likewise. | |
620 | * tsan/Makefile.in: Likewise. | |
621 | ||
2ed685b8 L |
622 | 2012-11-28 H.J. Lu <hongjiu.lu@intel.com> |
623 | ||
624 | * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX. | |
625 | * configure.ac (ACX_NONCANONICAL_TARGET): New. | |
626 | * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header | |
627 | files. | |
628 | (AM_MAKEFLAGS): Remove CC and CXX. | |
629 | * interception/Makefile.am: Likewise. | |
630 | * sanitizer_common/Makefile.am: Likewise. | |
631 | * tsan/Makefile.am: Likewise. | |
632 | * Makefile.in: Regenerated. | |
633 | * aclocal.m4: Likewise. | |
634 | * configure: Likewise. | |
635 | * asan/Makefile.in: Likewise. | |
636 | * interception/Makefile.in: Likewise. | |
637 | * sanitizer_common/Makefile.in: Likewise. | |
638 | * tsan/Makefile.in: Likewise. | |
639 | ||
4ba5ca46 KS |
640 | 2012-11-27 Kostya Serebryany <kcc@google.com> |
641 | ||
642 | * All files: Merge from upstream r168699. | |
643 | ||
41d37c56 | 644 | 2012-11-24 Kostya Serebryany <kcc@google.com> |
ecdbd01a | 645 | Jack Howarth <howarth@bromo.med.uc.edu> |
f246eadc JH |
646 | |
647 | * interception/mach_override/mach_override.c: Migrate from llvm. | |
648 | * interception/mach_override/mach_override.h: Likewise. | |
649 | * interception/mach_override/LICENSE.txt: Likewise. | |
650 | * configure.tgt: Add darwin to supported targets. | |
651 | * configure.ac: Define USING_MACH_OVERRIDE when on darwin. | |
652 | * interception/Makefile.am: Compile mach_override.c when | |
653 | USING_MACH_OVERRIDE defined. | |
654 | * configure: Regenerated. | |
655 | * interception/Makefile.in: Likewise. | |
656 | ||
9cb5411c L |
657 | 2012-11-23 H.J. Lu <hongjiu.lu@intel.com> |
658 | ||
659 | PR sanitizer/55450 | |
660 | * tsan/Makefile.am (gcc_version): New. | |
661 | * tsan/Makefile.in: Regenerated. | |
662 | ||
3409d40e | 663 | 2012-11-23 Kostya Serebryany <kcc@google.com> |
9cb5411c | 664 | |
e297eb60 KS |
665 | * merge.sh: Support tsan, support added/removed files. |
666 | * tsan/Makefile.am: Remove tsan_printf.cc. | |
667 | * tsan/Makefile.in: Regenerated. | |
668 | * other files: Merge from upstream r168514. | |
669 | ||
670 | 2012-11-23 Kostya Serebryany <kcc@google.com> | |
9cb5411c | 671 | |
e297eb60 | 672 | * merge.sh: New file. |
3409d40e | 673 | |
64548f3b JJ |
674 | 2012-11-23 Jakub Jelinek <jakub@redhat.com> |
675 | ||
676 | * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros. | |
677 | * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED | |
678 | automake conditional instead of !MULTISUBDIR32. | |
679 | * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux | |
680 | for 64-bit multilib. | |
681 | * configure.ac: Check for void * size, source in configure.tgt, | |
682 | define TSAN_SUPPORTED conditional instead of MULTILIBDIR32. | |
683 | * configure: Regenerated. | |
684 | * Makefile.in: Regenerated. | |
685 | * tsan/Makefile.in: Regenerated. | |
686 | ||
cd0be65c WM |
687 | 2012-11-22 Wei Mi <wmi@google.com> |
688 | ||
689 | * tsan: New directory. Import tsan runtime from llvm. | |
690 | * configure.ac: Add 64 bits tsan build. | |
691 | * Makefile.am: Likewise. | |
692 | * configure: Regenerated. | |
693 | * Makefile.in: Likewise. | |
694 | ||
5cba83a8 KS |
695 | 2012-11-21 Kostya Serebryany <kcc@google.com> |
696 | ||
9cb5411c | 697 | * README.gcc: Extend the README.gcc with mode details. |
5cba83a8 | 698 | |
b014e124 KS |
699 | 2012-11-20 Konstantin Serebryany <konstantin.s.serebryany@gmail.com> |
700 | ||
701 | * sanitizer_common/sanitizer_linux.cc | |
702 | (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define. | |
703 | (internal_mmap): Use it. | |
704 | (internal_filesize): Likewise. | |
705 | ||
2b723e21 TT |
706 | 2012-11-16 Tom Tromey <tromey@redhat.com> |
707 | ||
708 | * configure.ac: Invoke AM_MAINTAINER_MODE. | |
709 | * aclocal.m4, configure, Makefile.in, asan/Makefile.in, | |
710 | interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild. | |
711 | ||
d1caed14 L |
712 | 2012-11-16 H.J. Lu <hongjiu.lu@intel.com> |
713 | ||
714 | PR other/55333 | |
715 | * include/sanitizer/common_interface_defs.h (uhwptr): New type | |
716 | for hardware pointer. | |
717 | * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack): | |
718 | Replace uptr with uhwptr for stack unwind. | |
719 | ||
f3754998 DS |
720 | 2012-11-16 Dodji Seketeli <dodji@redhat.com> |
721 | ||
722 | * configure.tgt: Enable build on sparc linux. | |
723 | ||
f64bcb29 L |
724 | 2012-11-15 H.J. Lu <hongjiu.lu@intel.com> |
725 | ||
726 | * configure.ac: Properly set MULTISUBDIR. | |
727 | * asan/Makefile.am (gcc_version): New. | |
728 | * interception/Makefile.am (gcc_version): Likewise. | |
729 | * sanitizer_common/Makefile.am (gcc_version): Likewise. | |
730 | * configure: Regenerated. | |
731 | * asan/Makefile.in: Likewise. | |
732 | * interception/Makefile.in: Likewise. | |
733 | * sanitizer_common/Makefile.in: Likewise. | |
734 | ||
2a6346c4 L |
735 | 2012-11-14 H.J. Lu <hongjiu.lu@intel.com> |
736 | ||
737 | PR other/55291 | |
738 | * configure.ac (--enable-version-specific-runtime-libs): New option. | |
739 | (AC_CANONICAL_SYSTEM): New. | |
740 | (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE. | |
741 | (toolexecdir): Support multilib. | |
742 | (toolexeclibdir): Likewise. | |
743 | (multilib_arg): New. | |
744 | * Makefile.in: Regenerated. | |
745 | * aclocal.m4: Likewise. | |
746 | * configure: Likewise. | |
747 | * asan/Makefile.in: Likewise. | |
748 | * interception/Makefile.in: Likewise. | |
749 | * sanitizer_common/Makefile.in: Likewise. | |
750 | ||
4a56a7be L |
751 | 2012-11-14 H.J. Lu <hongjiu.lu@intel.com> |
752 | ||
753 | PR other/55292 | |
754 | Backport from upstream revision 167883 | |
755 | * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check | |
756 | __x86_64__ instead of __WORDSIZE. | |
757 | (internal_filesize): Likwise. | |
758 | ||
4053ca2c L |
759 | 2012-11-14 H.J. Lu <hongjiu.lu@intel.com> |
760 | ||
761 | * configure.ac (AC_CONFIG_AUX_DIR): Removed. | |
762 | * Makefile.in: Regenerated. | |
763 | * configure: Likewise. | |
764 | ||
a2479b3d L |
765 | 2012-11-13 H.J. Lu <hongjiu.lu@intel.com> |
766 | ||
767 | PR other/55304 | |
768 | * acinclude.m4: New file. | |
769 | * Makefile.am (ACLOCAL_AMFLAGS): New. | |
770 | * configure.ac (AC_PREREQ): Set to 2.64. | |
771 | (AC_CONFIG_AUX_DIR): Set to "..". | |
772 | * Makefile.in: Regenerated. | |
773 | * aclocal.m4: Likewise. | |
774 | * configure: Likewise. | |
775 | * asan/Makefile.in: Likewise. | |
776 | * interception/Makefile.in: Likewise. | |
777 | * sanitizer_common/Makefile.in: Likewise. | |
778 | ||
779 | * config.guess: Removed. | |
780 | * config.sub: Likewise. | |
781 | * depcomp: Likewise. | |
782 | * install-sh: Likewise. | |
783 | * ltmain.sh: Likewise. | |
784 | * missing: Likewise. | |
785 | ||
93bf5390 RH |
786 | 2012-11-13 Richard Henderson <rth@redhat.com> |
787 | ||
788 | * configure.tgt: New file. | |
789 | ||
d2860e72 DM |
790 | 2012-11-12 David S. Miller <davem@davemloft.net> |
791 | ||
792 | * asan/asan_linux.cc (GetPcSpBp): Add sparc support. | |
793 | ||
f35db108 WM |
794 | 2012-10-29 Wei Mi <wmi@google.com> |
795 | ||
796 | Initial checkin: migrate asan runtime from llvm. |