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