MC: Support COFF string tables larger than 10MB
authorNico Rieck <nico.rieck@gmail.com>
Sat, 22 Feb 2014 16:12:20 +0000 (16:12 +0000)
committerNico Rieck <nico.rieck@gmail.com>
Sat, 22 Feb 2014 16:12:20 +0000 (16:12 +0000)
commitfa3089b14c9bfc86e7f937a70fa786aeb9abdfdd
tree1660c875d78562e9ee79bc2a0ebdb856f7e68c0a
parent3c288fc8e72b8541a599c8396104988fe907499c
MC: Support COFF string tables larger than 10MB

Offsets past the range of single-slash encoding are encoded as base64,
padded to 6 characters, and prefixed with two slashes. This encoding is
undocumented but used by MSVC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201940 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/WinCOFFObjectWriter.cpp
lib/Object/COFFObjectFile.cpp
test/MC/COFF/section-name-encoding.s