aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/BinaryFormat/Magic.cpp
diff options
context:
space:
mode:
authorEric Beckmann <ecbeckmann@google.com>2017-07-07 23:23:53 +0000
committerEric Beckmann <ecbeckmann@google.com>2017-07-07 23:23:53 +0000
commit7c865f004b86475cc07342a6fbd0b5f57ced1801 (patch)
treeed1b2ee7c9b14fa5937c8186fe5c9d86c85e9eda /llvm/lib/BinaryFormat/Magic.cpp
parentbb4069e439d89c25eae2d0de8749e144291c1c84 (diff)
downloadllvm-7c865f004b86475cc07342a6fbd0b5f57ced1801.zip
llvm-7c865f004b86475cc07342a6fbd0b5f57ced1801.tar.gz
llvm-7c865f004b86475cc07342a6fbd0b5f57ced1801.tar.bz2
Add name offset flags, for parity with cvtres.exe.
Summary: The original cvtres.exe sets the high bit when an identifier offset points to a string. Even though this is not mentioned in the spec, and in fact does not seem to cause errors with most cases, for some reason this causes a failure in Chromium where the new resource file is not verified as a new version. This patch sets this high bit flag, and also adds a test case to check that the output of our library is always identical to original cvtres. Reviewers: zturner, ruiu Subscribers: llvm-commits, hiraditya Differential Revision: https://reviews.llvm.org/D35099 llvm-svn: 307452
Diffstat (limited to 'llvm/lib/BinaryFormat/Magic.cpp')
0 files changed, 0 insertions, 0 deletions