<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:thegameg1@yahoo.com" title="Francis Visoiu Mistrih <thegameg1@yahoo.com>"> <span class="fn">Francis Visoiu Mistrih</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - llc segfaults when running PEI in isolation"
href="https://bugs.llvm.org/show_bug.cgi?id=30324">bug 30324</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - llc segfaults when running PEI in isolation"
href="https://bugs.llvm.org/show_bug.cgi?id=30324#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - llc segfaults when running PEI in isolation"
href="https://bugs.llvm.org/show_bug.cgi?id=30324">bug 30324</a>
from <span class="vcard"><a class="email" href="mailto:thegameg1@yahoo.com" title="Francis Visoiu Mistrih <thegameg1@yahoo.com>"> <span class="fn">Francis Visoiu Mistrih</span></a>
</span></b>
<pre>(In reply to Francis Visoiu Mistrih from <a href="show_bug.cgi?id=30324#c7">comment #7</a>)
<span class="quote">> I am trying to test the AsmPrinter from a MIR test, but this still fails
> when I use llc -start-before prologepilog. The workaround to run PEI only is
> to -run-pass stack-protector -run-pass prologepilog, but there is no way to
> call the AsmPrinter through -run-pass, so -start-before is actually needed
> in this case.
>
> As Quentin pointed out, I couldn't find a way to pass the TargetMachine to
> the pass manager. (r302096 lib/IR/LegacyPassManager.cpp:648 calls the
> default ctor)
>
> My workaround for this is to run llc -start-before=stack-protector
> -disable-machine-dce.</span >
Fixed in r303360.</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>