aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2018-04-04 19:15:55 +0000
committerHans Wennborg <hans@hanshq.net>2018-04-04 19:15:55 +0000
commit9a9fc78744fe949c31eefa4910e7f2f3ed4033fe (patch)
tree62f3d36bbb6ae3fbfa435fa6f09894a31d6a962f /clang/unittests/Basic/VirtualFileSystemTest.cpp
parentbccd18b816c0413f63b14ccb77077cced6f033f7 (diff)
downloadllvm-9a9fc78744fe949c31eefa4910e7f2f3ed4033fe.zip
llvm-9a9fc78744fe949c31eefa4910e7f2f3ed4033fe.tar.gz
llvm-9a9fc78744fe949c31eefa4910e7f2f3ed4033fe.tar.bz2
COFF: Layout sections in the same order as link.exe
One place where this seems to matter is to make sure the .rsrc section comes after .text. The Win32 UpdateResource() function can change the contents of .rsrc. It will move the sections that come after, but if .text gets moved, the entry point header will not get updated and the executable breaks. This was found by a test in Chromium. Differential Revision: https://reviews.llvm.org/D45260 llvm-svn: 329221
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions