<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Eric,<div><br></div><div>This is just for testing (without the clang change).  I didn't want to add a it as a command line argument to llvm-mc as that would then have the producer string as it would also affect the AT_Apple flags.<div><br></div><div>If you like I can remove this code and the test when the clang side of the change is finished.</div><div><br></div><div>Kev<div><br><div><div>On Jan 16, 2013, at 9:52 AM, Eric Christopher <<a href="mailto:echristo@gmail.com">echristo@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
+static std::string DwarfDebugProducer;<br>
+static void setDwarfDebugProducer(void) {<br>
+  if(!getenv("DEBUG_PRODUCER"))<br>
+    return;<br>
+  DwarfDebugProducer += getenv("DEBUG_PRODUCER");<br>
+}<br>
+<br></blockquote><div><br></div><div style="">Any particular reason or compatibility with this? I'd prefer not to have it otherwise. If we do need it can you make it work for the compiled case as well?</div><div style="">
<br></div><div style="">Thanks!</div><div style=""><br></div><div style="">-eric </div></div></div></div>
</blockquote></div><br></div></div></div></body></html>