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