[PATCH] PECOFF: Use the string table for long section names in EXEs/DLLs

David Majnemer david.majnemer at gmail.com
Mon Nov 3 16:31:38 PST 2014


Hi ruiu,

Normally, PE files have section names of eight characters or less.
However, this is problematic for DWARF because DWARF section names are
things like .debug_aranges.

Instead of truncating the section name, redirect the section name into
the string table.

http://reviews.llvm.org/D6104

Files:
  lib/ReaderWriter/PECOFF/WriterPECOFF.cpp
  test/pecoff/long-section-name.test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6104.15741.patch
Type: text/x-patch
Size: 6591 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141104/37c5baad/attachment.bin>


More information about the llvm-commits mailing list