<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - leak of ObjectFile in tools/lli/lli.cpp"
href="http://llvm.org/bugs/show_bug.cgi?id=19553">19553</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>leak of ObjectFile in tools/lli/lli.cpp
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>kcc@google.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu, rafael.espindola@gmail.com
</td>
</tr>
<tr>
<th>Blocks</th>
<td>19521
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>When running check-llvm under lsan (<a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Enable LeakSanitizer by default and make clang bootstrap LeakSanitizer-clean"
href="show_bug.cgi?id=19521">bug 19521</a>) 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)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>