http://llvm.org/bugs/show_bug.cgi?id=19553
Bug ID: 19553
Summary: leak of ObjectFile in tools/lli/lli.cpp
Product: new-bugs
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Blocks: 19521
Classification: Unclassified
When running check-llvm under lsan (bug 19521) I see the following report on
the test ExecutionEngine/MCJIT/load-object-a.ll:
Direct leak of 392 byte(s) in 1 object(s) allocated from:
#0 0x5c0bc0 in operator new(unsigned long)
projects/compiler-rt/lib/asan/asan_new_delete.cc:62
#1 0x1d4bf73 in
llvm::object::ObjectFile::createELFObjectFile(llvm::MemoryBuffer*, bool)
lib/Object/ELFObjectFile.cpp:72
#2 0x1d43682 in
llvm::object::ObjectFile::createObjectFile(llvm::MemoryBuffer*, bool,
llvm::sys::fs::file_magic) lib/Object/ObjectFile.cpp:68
#3 0x1d43997 in release include/llvm/Object/ObjectFile.h:321
#4 0x1d43997 in llvm::object::ObjectFile::createObjectFile(llvm::StringRef)
lib/Object/ObjectFile.cpp:92
#5 0x5e1878 in main tools/lli/lli.cpp:532
#6 0x7fdbea1ad76c in __libc_start_main
/build/buildd/eglibc-2.15/csu/libc-start.c:226
Rafael, any suggestion what's going on here?
(Valgrind complains too)
--
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