https://bugs.llvm.org/show_bug.cgi?id=32652
Bug ID: 32652
Summary: Scudo-x86_64 quarantine.cpp fails
Product: compiler-rt
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: compiler-rt
Assignee: unassignedb...@nondot.org
Reporter: hfin...@anl.gov
CC: k...@google.com, llvm-bugs@lists.llvm.org
This test fails on my build system (during a self-host check):
Scudo-x86_64 :: quarantine.cpp
/src/llvm/projects/compiler-rt/test/scudo/quarantine.cpp:29: int main(int, char
**): Assertion `__sanitizer_
get_current_allocated_bytes() > allocated_bytes' failed.
The problem is that, both before and after the call to malloc,
__sanitizer_get_current_allocated_bytes() returns 0. Thus, the assertion fails.
If I change the size allocated in the test to something more than (1U << 16),
(1U << 17) or (1U << 20) for example, then the test consistently passes.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs