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