diff options
author | Rui Ueyama <ruiu@google.com> | 2014-11-07 02:54:52 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2014-11-07 02:54:52 +0000 |
commit | a81cb0594b34add75060ac9371bf93995158621e (patch) | |
tree | 72d9ab4ed4f98aba16a426ff8cd5b0d9f94158cd /llvm/lib/IR/Module.cpp | |
parent | 72001cf287fac7b37009cf0a94065cd06831718d (diff) | |
download | llvm-a81cb0594b34add75060ac9371bf93995158621e.zip llvm-a81cb0594b34add75060ac9371bf93995158621e.tar.gz llvm-a81cb0594b34add75060ac9371bf93995158621e.tar.bz2 |
Fix Mach-O unit tests breakage on Windows
Mach-O normalized file reader assumes that the entire file is aligned
to a large boundary. If the in-memory file is not aligned properly, it will
abort with an assertion failure in read32/read64. This patch forces the
in-memory file for the unit test to be aligned at 64-byte boundary.
I found these tests are failing on Windows, but theoretically they could
fail on other platform.
llvm-svn: 221508
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions