[PATCH] MC: Support larger COFF string tables
Nico Rieck
nico.rieck at gmail.com
Sat Apr 13 18:33:09 PDT 2013
Hi asl,
The COFF object writer currently supports only relatively small string tables because it only uses the single-slash encoding with up to 6 digits.
This patch extends this to the full 7 digits, bumping the supported table size from ~1MB to ~9.5MB. It also implements the undocumented double-slash encoding using base 64 encoded offsets for even larger offsets.
http://llvm-reviews.chandlerc.com/D667
Files:
lib/MC/WinCOFFObjectWriter.cpp
lib/Object/COFFObjectFile.cpp
test/MC/COFF/lit.local.cfg
test/MC/COFF/section-name-encoding.test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D667.1.patch
Type: text/x-patch
Size: 8172 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130413/63600d32/attachment.bin>
More information about the llvm-commits
mailing list