文件最后提交记录最后更新时间
[Darwin][UBSan][Sanitizer] abort_on_error ubsan test fix for arm64 The current darwin abort_on_error test specifically tests for a division by zero undefined behavior. However arm does not trap by default for this behavior. x86 signals the abort, which is why the test passes on x86. This patch updates the test to test for a case where the ubsan runtime specifically calls Die() to trigger an abort by default. rdar://92108564 Differential Revision: https://reviews.llvm.org/D1244804 年前
[Test][Sanitizer][atos] Disable atos-symbolized-recovery test This test tests uses undefined behavior and is proving to be very flakey. I am disabling for now. Radar to add a new test: rdar://108003900 rdar://1078461283 年前
compiler-rt: Rename cc files below test/sanitizer_common to cpp See r367803 and similar other changes. llvm-svn: 3678636 年前
[NFC][Py Reformat] Reformat python files in the rest of the dirs This is an ongoing series of commits that are reformatting our Python code. This catches the last of the python files to reformat. Since they where so few I bunched them together. Reformatting is done with black. If you end up having problems merging this commit because you have made changes to a python file, the best way to handle that is to run git checkout --ours <yourfile> and then reformat it with black. If you run into any problems, post to discourse about it and we will try to help. RFC Thread below: https://discourse.llvm.org/t/rfc-document-and-standardize-python-code-style Reviewed By: jhenderson, #libc, Mordante, sivachandra Differential Revision: https://reviews.llvm.org/D1507843 年前
[Sanitizer][Darwin] Add interceptor for malloc_zone_from_ptr Ensure that malloc_default_zone and malloc_zone_from_ptr return the sanitizer-installed malloc zone even when MallocStackLogging (MSL) is requested. This prevents crashes in certain situations. Note that the sanitizers and MSL cannot be used together. If both are enabled, MSL functionality is essentially deactivated since it only hooks the default allocator which is replaced by a custom sanitizer allocator. rdar://53686175 Reviewed By: kubamracek Differential Revision: https://reviews.llvm.org/D65990 llvm-svn: 3684926 年前
Disable a Darwin test under LSan. * Changing source lines seems to cause us to hit rdar://problem/62132428. * Even if I workaround the above issue sometimes the source line in the dylib reported by atos is off by one. It's simpler to just disable the test for now. rdar://problem/617937596 年前
compiler-rt: Rename cc files below test/sanitizer_common to cpp See r367803 and similar other changes. llvm-svn: 3678636 年前
[Symbolizers] On Darwin compute function offset when possible. Summary: The sanitizer symbolizers support printing the function offset (difference between pc and function start) of a stackframe using the %q format specifier. Unfortunately this didn't actually work because neither the atos or dladdr symbolizer set the AddressInfo::function_offset field. This patch teaches both symbolizers to try to compute the function offset. In the case of the atos symbolizer, atos might not report the function offset (e.g. it reports a source location instead) so in this case it fallsback to using dladdr() to compute the function offset. Two test cases are included. rdar://problem/56695185 Reviewers: kubamracek, yln Subscribers: #sanitizers, llvm-commits Tags: #sanitizers, #llvm Differential Revision: https://reviews.llvm.org/D695496 年前
[Symbolizers] On Darwin compute function offset when possible. Summary: The sanitizer symbolizers support printing the function offset (difference between pc and function start) of a stackframe using the %q format specifier. Unfortunately this didn't actually work because neither the atos or dladdr symbolizer set the AddressInfo::function_offset field. This patch teaches both symbolizers to try to compute the function offset. In the case of the atos symbolizer, atos might not report the function offset (e.g. it reports a source location instead) so in this case it fallsback to using dladdr() to compute the function offset. Two test cases are included. rdar://problem/56695185 Reviewers: kubamracek, yln Subscribers: #sanitizers, llvm-commits Tags: #sanitizers, #llvm Differential Revision: https://reviews.llvm.org/D695496 年前