http://llvm.org/bugs/show_bug.cgi?id=17039
Bug ID: 17039
Summary: missing interceptor for memalign
Product: compiler-rt
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: compiler-rt
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
This program
-----------
#include <malloc.h>
int main() {
void *p = memalign(64, 128);
free(p);
return 0;
}
---------------
if compiled with -fsanitize=address crashes with
MemorySanitizer: bad pointer 0x7f09b96d9040
==42895==Sanitizer CHECK failed:
/home/espindola/llvm/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_allocator.h:1021
((IsAligned(reinterpret_cast<uptr>(p), page_size_))) != (0) (0, 0)
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs