<html><head><base href="x-msg://15/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">LLVM follows DWARF3 spec. I think, DWARF_VERSION is set to 2 for historical reasons/debugger needs.<div>-</div><div>Devang<br><div><div>On Jan 6, 2011, at 4:17 PM, Yuan Lin wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Verdana; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div><font face="Calibri, sans-serif" size="2"><div>Hi, I have a newbie question regarding debugging support in llvm.</div><div><font face="Times New Roman, serif"> </font></div><div>Is llvm generating DWARF2 or DWARF3? The comments in the trunk source code refer to the DWARF 3 spec, but DWARF_VERSION is set to 2 in Support/Dwarf.h.</div><div> </div><div>What am I missing? Thanks.</div><div> </div><div>-- Yuan</div><div> </div><div><font face="Times New Roman, serif"> </font></div><div><font face="Times New Roman, serif"> </font></div></font><div><hr></div><div>This email message is for the sole use of the intended recipient(s) and may contain confidential information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.</div><div><hr></div><div><br class="webkit-block-placeholder"></div>_______________________________________________<br>LLVM Developers mailing list<br><a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a><span class="Apple-converted-space"> </span>        <a href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br></div></span></blockquote></div><br></div></body></html>