<div dir="auto">Hi Tim,<div dir="auto">Thank you very much for the message. It indeed solvedĀ the problem.</div><div dir="auto"><br></div><div dir="auto">Thanks</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 8, 2019, 15:05 Tim Northover <<a href="mailto:t.p.northover@gmail.com">t.p.northover@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Alberto,<br>
<br>
On Fri, 8 Nov 2019 at 06:59, Alberto Barbaro via llvm-dev<br>
<<a href="mailto:llvm-dev@lists.llvm.org" target="_blank" rel="noreferrer">llvm-dev@lists.llvm.org</a>> wrote:<br>
> Is there any way for avoiding to use llvm.dbg.value within a bc file?<br>
<br>
They're part of LLVM's representation of debugging information (as you<br>
may have guessed). So if compiling with Clang you can just not pass -g<br>
and you won't get any (or override with -g0 if your build system<br>
already adds -g and it's inconvenient to avoid that). Other front-ends<br>
will have similar options I expect.<br>
<br>
> If not, once I have the bc how can I remove all the occurrences?<br>
<br>
You can run "opt -strip-debug" will remove it in that situation.<br>
<br>
Cheers.<br>
<br>
Tim.<br>
</blockquote></div>