<div dir="ltr">I tried that at first, but unfortunately in order to do that you have to write a line like<div><br></div><div>global dont_do_dsym_test</div><div><br></div><div>for every global accessed by main.  Like you said, Todd can probably clean that up, for now I just wanted to get something working.</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Sep 3, 2015 at 4:02 PM Ying Chen <<a href="mailto:chying@google.com">chying@google.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">chying accepted this revision.<br>
chying added a comment.<br>
<br>
This patch works for me.<br>
Although I thought we could put less code in main() function.<br>
Then have<br>
if __name__ == "__main__":<br>
<br>
  main()<br>
<br>
But that will require some more work to refactor the code. Probably that could wait for Todd's clean up.<br>
<br>
<br>
<a href="http://reviews.llvm.org/D12612" rel="noreferrer" target="_blank">http://reviews.llvm.org/D12612</a><br>
<br>
<br>
<br>
</blockquote></div>