PPeter CollingbourneFix more compiler-rt tests after #149015.
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Fix more compiler-rt tests after #149015. | 1 年前 | |
Fix more compiler-rt tests after #149015. | 1 年前 | |
Fix more compiler-rt tests after #149015. | 1 年前 | |
[lsan][test] Allow testcase to execute on remote targets without not utility (#87350) | 1 年前 | |
[hwasan] Support __lsan_default_options Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D142938 | 3 年前 | |
[lsan] Remove use_tls=0 from a few tests The Objective-C runtime now stashes some state in TLS so any test that indirectly initializes an Objective-C object will have false positive leaks unless use_tls=1 as is the default. Differential Revision: https://reviews.llvm.org/D153081 | 3 年前 | |
[lsan] Remove use_tls=0 from a few tests The Objective-C runtime now stashes some state in TLS so any test that indirectly initializes an Objective-C object will have false positive leaks unless use_tls=1 as is the default. Differential Revision: https://reviews.llvm.org/D153081 | 3 年前 | |
[LSAN] Enable more tests which are passing as is in HWASAN. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D143126 | 3 年前 | |
[lsan] Add debug option to "deflake" leaks (#112037) There are hard to debug leaks which look like false. In general, repeating leak checking should not affect set of leaks significantly, especial at_exit leak checking. But if we see significant discrepancy, it may give us a clue for investigation. | 1 年前 | |
[LSAN] Fix pthread_create interceptor to ignore leaks in real pthread_create. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D143209 | 3 年前 | |
[lsan] Remove use_tls=0 from a few tests The Objective-C runtime now stashes some state in TLS so any test that indirectly initializes an Objective-C object will have false positive leaks unless use_tls=1 as is the default. Differential Revision: https://reviews.llvm.org/D153081 | 3 年前 | |
[lsan] Remove undefined ENV variables | 4 年前 | |
[LSAN] Enable some tests which are passing as is in HWASAN. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D143114 | 3 年前 | |
[LSAN] Enable more tests which are passing as is in HWASAN. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D143126 | 3 年前 | |
[compiler-rt] Destroy pthread attrs after use in tests (#114923) The attr typically located on the stack is of an opaque pthread_attr_t type, which may be a pointer that gets initialized by pthread_attr_init(). Explicitly clean up the attr with pthread_attr_destroy() to avoid a leak on such platforms to avoid unexpected test failures with lsan enabled. This primarily affects FreeBSD; NetBSD, musl, and glibc will seemingly all use a full-sized pthread_attr_t. | 1 年前 | |
[LSAN] Enable more tests which are passing as is in HWASAN. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D143126 | 3 年前 | |
[test][lsan] Reset pointer to leak memory | 3 年前 | |
[HWASAN] Copy some ASAN independent unit tests from ASAN to LSAN Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D142504 | 3 年前 | |
[HWASAN] Fix Metadata::IsAllocatedMetadata::IsAllocated to return true even if the requested size is 0. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D143438 | 3 年前 | |
[NFC][LSAN] Limit the number of concurrent threads is the test Test still fails with D88184 reverted. The test was flaky on https://bugs.chromium.org/p/chromium/issues/detail?id=1206745 and https://lab.llvm.org/buildbot/#/builders/sanitizer-x86_64-linux Reviewed By: morehouse Differential Revision: https://reviews.llvm.org/D102218 | 5 年前 | |
[HWASAN] Set os_id in Thread::Init to make sure that the thread can be found by GetThreadByOsIDLocked. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D143125 | 3 年前 | |
[HWASAN] Set os_id in Thread::Init to make sure that the thread can be found by GetThreadByOsIDLocked. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D143125 | 3 年前 | |
compiler-rt: Rename .cc file in test/lsan to .cpp Like r367463, but for test/lsan. llvm-svn: 367803 | 6 年前 | |
[LSAN] Add GetUserAddr function which returns the user visible address of an internal pointer For HWASAN this would be the tagged address. It is the same pointer when pointer tagging is not used. Coincidently this also fixes some test which rely on comparing pointers. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D143121 | 3 年前 | |
Make lsan TestCases more consistent Inlining LSAN_BASE makes the lsan TestCases more consistent to the other sanitizer TestCases. It is also needed on Windows: https://reviews.llvm.org/D115103 Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D124322 | 4 年前 | |
[lsan] Disable test with barriers on Darwin (#112810) | 1 年前 | |
[test][sanitizer] Prepare test for Internal Symbolizer Reviewed By: kstoimenov Differential Revision: https://reviews.llvm.org/D157946 | 2 年前 | |
[lsan][test] Add malloc(0) and realloc(p, 0) tests | 5 年前 | |
[lsan] Disable symbolization in test With internal symbolizer leaking pointers can be copied into alive memory used by symbolizer. | 2 年前 | |
[LSAN] Enable some tests which are passing as is in HWASAN. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D143114 | 3 年前 | |
Move LSan test suite under test/ llvm-svn: 201408 | 12 年前 | |
[HWASAN] Fix test which was failing with tag mismatch due to missing no_sanitize statement | 3 年前 | |
[sanitizer]Update tests to be compatible with Android. Split off from D89251 Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D89884 | 5 年前 | |
[LSAN] Enable more tests which are passing as is in HWASAN. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D143126 | 3 年前 | |
[test][sanitizer] Prepare test for Internal Symbolizer Reviewed By: kstoimenov Differential Revision: https://reviews.llvm.org/D157946 | 2 年前 | |
[LSAN] Enable more tests which are passing as is in HWASAN. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D143126 | 3 年前 | |
[NFC][lsan] Rename test function | 3 年前 | |
[LSAN] Add GetUserAddr function which returns the user visible address of an internal pointer For HWASAN this would be the tagged address. It is the same pointer when pointer tagging is not used. Coincidently this also fixes some test which rely on comparing pointers. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D143121 | 3 年前 | |
[LSAN] Add GetUserAddr function which returns the user visible address of an internal pointer For HWASAN this would be the tagged address. It is the same pointer when pointer tagging is not used. Coincidently this also fixes some test which rely on comparing pointers. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D143121 | 3 年前 | |
[LSAN] Add GetUserAddr function which returns the user visible address of an internal pointer For HWASAN this would be the tagged address. It is the same pointer when pointer tagging is not used. Coincidently this also fixes some test which rely on comparing pointers. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D143121 | 3 年前 | |
Make lsan TestCases more consistent Inlining LSAN_BASE makes the lsan TestCases more consistent to the other sanitizer TestCases. It is also needed on Windows: https://reviews.llvm.org/D115103 Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D124322 | 4 年前 | |
Make lsan TestCases more consistent Inlining LSAN_BASE makes the lsan TestCases more consistent to the other sanitizer TestCases. It is also needed on Windows: https://reviews.llvm.org/D115103 Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D124322 | 4 年前 | |
[lsan] Deflake test on aarch64 Looks like registers are clobbered by sched_yield. | 1 年前 | |
[HWASAN] Set os_id in Thread::Init to make sure that the thread can be found by GetThreadByOsIDLocked. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D143125 | 3 年前 | |
[LSAN] Add GetUserAddr function which returns the user visible address of an internal pointer For HWASAN this would be the tagged address. It is the same pointer when pointer tagging is not used. Coincidently this also fixes some test which rely on comparing pointers. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D143121 | 3 年前 | |
[HWASAN] Set os_id in Thread::Init to make sure that the thread can be found by GetThreadByOsIDLocked. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D143125 | 3 年前 | |
[LSAN] Add GetUserAddr function which returns the user visible address of an internal pointer For HWASAN this would be the tagged address. It is the same pointer when pointer tagging is not used. Coincidently this also fixes some test which rely on comparing pointers. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D143121 | 3 年前 | |
[HWASAN][LSAN] Replace cstdint with stdint.h Reviewed By: brooksmoses, MaskRay Differential Revision: https://reviews.llvm.org/D155994 | 2 年前 |