<html>
<head>
<base href="https://bugs.llvm.org/">
</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 - null pointer call lib/Bitcode/Writer/BitcodeWriter.cpp in LLVM::BugPoint/named-md.ll (runtime error)"
href="https://bugs.llvm.org/show_bug.cgi?id=33198">33198</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>null pointer call lib/Bitcode/Writer/BitcodeWriter.cpp in LLVM::BugPoint/named-md.ll (runtime error)
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</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>matthias.krueger@famsik.de
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>llvm @ f1e232d9b0afea4224c5cf2e8c0259594237f28f /
git-svn-id: <a href="https://llvm.org/svn/llvm-project/llvm/trunk@304080">https://llvm.org/svn/llvm-project/llvm/trunk@304080</a>
91177308-0d34-0410-b5e6-96231b3b80d8
This was the result of doing a stage2 asan+ubsan instrumented check-all run.
build setup was like this:
cmake ../llvm -G "Ninja" \
-DCMAKE_BUILD_TYPE=Release \
-DLLVM_BINUTILS_INCDIR=/usr/include \
-DCMAKE_C_FLAGS="-march=native -Og -g" \
-DCMAKE_CXX_FLAGS="-march=native -Og -g" \
-DLLVM_PARALLEL_LINK_JOBS=1 \
-DLLVM_OPTIMIZED_TABLEGEN=1 \
-DLLVM_TARGETS_TO_BUILD="X86" \
-DCMAKE_AR="${rootDir}/stage_1/build/bin/llvm-ar" \
-DCMAKE_RANLIB="${rootDir}/stage_1/build/bin/llvm-ranlib" \
-DLLVM_USE_LINKER="${rootDir}/stage_1/build/bin/ld.lld" \
-DLLVM_USE_SANITIZER="Address;Undefined" \
-DLLVM_PARALLEL_LINK_JOBS=1 \
-DLLVM_ENABLE_EXPENSIVE_CHECKS=1
LLVM::BugPoint/named-md.ll failed due to
llvm/lib/Bitcode/Writer/BitcodeWriter.cpp:3830:16: runtime error: member call
on null pointer of type 'llvm::Module'
Test output:
********************
FAIL: LLVM :: BugPoint/named-md.ll (15254 of 34661)
******************** TEST 'LLVM :: BugPoint/named-md.ll' FAILED
********************
Script:
--
/home/matthias/LLVM/LLVM_san/stage_2/objects/./bin/bugpoint -load
/home/matthias/LLVM/LLVM_san/stage_2/objects/./lib/BugpointPasses.so
/home/matthias/LLVM/LLVM_san/stage_2/llvm/test/BugPoint/named-md.ll
-output-prefix
/home/matthias/LLVM/LLVM_san/stage_2/objects/test/BugPoint/Output/named-md.ll.tmp
-bugpoint-crash-too-many-cus -silence-passes -disable-strip-debuginfo >
/dev/null
/home/matthias/LLVM/LLVM_san/stage_2/objects/./bin/llvm-dis
/home/matthias/LLVM/LLVM_san/stage_2/objects/test/BugPoint/Output/named-md.ll.tmp-reduced-simplified.bc
-o - | /home/matthias/LLVM/LLVM_san/stage_2/objects/./bin/FileCheck
/home/matthias/LLVM/LLVM_san/stage_2/llvm/test/BugPoint/named-md.ll
--
Exit Code: 1
Command Output (stderr):
--
Final cleanups failed. Sorry. :( Please report a bug!
/home/matthias/LLVM/LLVM_san/stage_2/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp:3830:16:
runtime error: member call on null pointer of type 'llvm::Module'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior
/home/matthias/LLVM/LLVM_san/stage_2/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp:3830:16
in
--</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>