<div dir="ltr">Yes.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 11, 2015 at 5:03 PM, Yuxi Chen <span dir="ltr"><<a href="mailto:chenyuxi@uchicago.edu" target="_blank">chenyuxi@uchicago.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Hi Russell,<br>
<br>
Thanks for your reply. <br>
For the second question, do you mean llvm-link? Do you know the mechanism of llvm-link? It just combines several .bc files into one?<br>
<br>
Best,<br>
Yuxi<br>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div style="direction:ltr"><font face="Tahoma" color="#000000" size="2"><b>From:</b> Russell Wallace [<a href="mailto:russell.wallace@gmail.com" target="_blank">russell.wallace@gmail.com</a>]<br>
<b>Sent:</b> Wednesday, November 11, 2015 9:01 AM<br>
<b>To:</b> Yuxi Chen<br>
<b>Cc:</b> <a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<b>Subject:</b> Re: [llvm-dev] stack flag & generate ll from executable<br>
</font><br>
</div><div><div class="h5">
<div></div>
<div>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Wed, Nov 11, 2015 at 3:50 AM, Yuxi Chen via llvm-dev <span dir="ltr">
<<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</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>
<div style="direction:ltr;font-family:Tahoma;color:rgb(0,0,0);font-size:10pt">
Does anyone know the meaning of -no-stack-slot-sharing flag in llvm? I can find this flag in llvm-2.8, but now I am using llvm-3.6.1, I couldn't use this flag via clang. Does anyone know the alternative one? Or there is no need to use this flag if we use some
optimization, like O4?<br>
</div>
</div>
</blockquote>
<div><br>
I don't know, but I would guess if it's gone away, that's because it's no longer needed, so it's probably okay to forget about it unless some evidence to the contrary comes up.
<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:rgb(0,0,0);font-size:10pt">
<br>
Another question is that I write a Pass, what I do is after analysis, I generate a .bc file, then run clang to generate executable adding my own runtime library. Hence finally, I get an executable.
<br>
Does anyone know how to get .ll file from executable in clang? I can get .ll file, which is without my own runtime library, but I want to get .ll file, which has already linked with my library. Or maybe what I am thinking is wrong?<br>
</div>
</div>
</blockquote>
<div><br>
There is no way to turn an executable back into an intermediate code file - not only does that feature not currently exist, but it would be inherently difficult to do. Can you compile that runtime library into intermediate code and link it with the intermediate
code version of the program?<br>
</div>
</div>
<br>
</div>
</div>
</div>
</div></div></div>
</div>
</div>
</blockquote></div><br></div>