[llvm-commits] patch: don't emit a directory entry for DW_at_comp_dir

Nick Lewycky nlewycky at google.com
Tue Oct 18 15:53:08 PDT 2011


In DWARF, the file table contains indices back into the directory table. As
an optimization, directory entry zero is assumed to refer to the value in
DW_at_comp_dir. Don't emit two copies of that string!

Please review!

Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111018/4d107fda/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dir-index-zero.patch
Type: text/x-patch
Size: 2483 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111018/4d107fda/attachment.bin>


More information about the llvm-commits mailing list