<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">I have no idea what changed between 6.0
and trunk, so probably not?<br>
<br>
-Eli<br>
<br>
On 5/16/2018 10:23 PM, Simone Atzeni wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAG=OF1gsJvATeZw384xn9hMy70AQfER4j2ADuuONV+h-A+ct6Q@mail.gmail.com">
<div dir="ltr">
<span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">It's
working with trunk though. Do you think the patch will end up
in 6.0.1?</span>
<div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><br>
</div>
<div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">Thanks.</div>
Simone</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, May 15, 2018 at 11:18 AM,
Friedman, Eli <span dir="ltr"><<a
href="mailto:efriedma@codeaurora.org" target="_blank"
moz-do-not-send="true">efriedma@codeaurora.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF">
<div class="gmail-m_6233316824645719637moz-cite-prefix">I
ran into a similar problem a while ago; see <a
class="gmail-m_6233316824645719637moz-txt-link-freetext"
href="https://reviews.llvm.org/D30107" target="_blank"
moz-do-not-send="true">https://reviews.llvm.org/<wbr>D30107</a>
and <a
class="gmail-m_6233316824645719637moz-txt-link-freetext"
href="https://reviews.llvm.org/D33515" target="_blank"
moz-do-not-send="true">https://reviews.llvm.org/<wbr>D33515</a>
. You get the unusual stack trace because it's trying
to call a destructor in shared library which was already
unloaded.<br>
<br>
I thought we had fixed that, but maybe not? Looking
again, it looks like the patch got reverted and I didn't
notice.<br>
<br>
-Eli
<div>
<div class="gmail-h5"><br>
<br>
On 5/14/2018 10:18 PM, Simone Atzeni via llvm-dev
wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="gmail-h5">
<div dir="ltr">This is the correct path to the
pass: <a
href="https://github.com/PRUNERS/sword/blob/master/lib/Transforms/Instrumentation/InstrumentParallel.cpp"
target="_blank" moz-do-not-send="true">https://github.com/<wbr>PRUNERS/sword/blob/master/lib/<wbr>Transforms/Instrumentation/<wbr>InstrumentParallel.cpp</a></div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, May 14, 2018 at
10:06 PM, Simone Atzeni <span dir="ltr"><<a
href="mailto:simone.at@gmail.com"
target="_blank" moz-do-not-send="true">simone.at@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Hi all,
<div><br>
</div>
<div>I was porting my pass from LLVM 4.0 to
6.0 and I am getting a segmentation fault.</div>
<div>I was able to obtain only the info
below from GDB.</div>
<div><br>
</div>
<div>I tried to debug with some printf and
the runOnFunction runs correctly. <br>
</div>
<div>
<div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial">Any
idea/suggestion about what is going on?</div>
<br>
</div>
<div> <span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">The
source code of the pass is here: <a
href="https://github.com/PRUNERS/sword/blob/master/lib/Sword.cpp"
target="_blank" moz-do-not-send="true">https://github.com/PRUNE<wbr>RS/sword/blob/master/lib/Sword<wbr>.cpp</a></span>
<br>
</div>
<div><br>
</div>
<div>Any help is much appreciated,</div>
<div>Thanks!</div>
<div>Simone</div>
<div><br>
<div>
<div>#0 0x00007f1d93735170 in ?? ()</div>
<div>#1 0x00000000017d2b96 in
llvm::object_deleter<llvm::Sma<wbr>llVector<std::pair<llvm::PassM<wbr>anagerBuilder::ExtensionPointT<wbr>y,
std::function<void
(llvm::PassManagerBuilder const&,
llvm::legacy::PassManagerBase&<wbr>)>
>, 8u> >::call(void*) ()</div>
<div>#2 0x0000000001b0e5e9 in
llvm::llvm_shutdown() ()</div>
<div>#3 0x00000000008d8077 in main ()</div>
</div>
</div>
<div><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset
class="gmail-m_6233316824645719637mimeAttachmentHeader"></fieldset>
<br>
</div>
</div>
<pre>______________________________<wbr>_________________
LLVM Developers mailing list
<a class="gmail-m_6233316824645719637moz-txt-link-abbreviated" href="mailto:llvm-dev@lists.llvm.org" target="_blank" moz-do-not-send="true">llvm-dev@lists.llvm.org</a>
<a class="gmail-m_6233316824645719637moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" target="_blank" moz-do-not-send="true">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><span class="gmail-HOEnZb"><font color="#888888">
</font></span></pre>
<span class="gmail-HOEnZb"><font color="#888888"> </font></span></blockquote>
<span class="gmail-HOEnZb"><font color="#888888">
<p><br>
</p>
<pre class="gmail-m_6233316824645719637moz-signature" cols="72">--
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project</pre>
</font></span></div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project</pre>
</body>
</html>