<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jul 3, 2014 at 10:06 AM, Jonas Wagner <span dir="ltr"><<a href="mailto:jonas.wagner@epfl.ch" target="_blank">jonas.wagner@epfl.ch</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>The llvm-dis/llvm-as operation should be a no-op, yet the global_ctors get lost in the process. This happens also with other operations that affect global_ctors, e.g., with "opt -insert-gcov-profiling".</div>
</div></blockquote><div><br></div><div>This isn't strictly true.  Deserializing old bitcode will auto-upgrade it.  In this case, it will be auto-upgraded to the 3-field form of llvm.global_ctors. </div></div></div></div>