diff options
author | Mark Seaborn <mseaborn@chromium.org> | 2013-06-25 14:10:05 -0700 |
---|---|---|
committer | Mark Seaborn <mseaborn@chromium.org> | 2013-06-25 14:10:05 -0700 |
commit | 35d0901ac239469021a36f21e488cf20484f2095 (patch) | |
tree | e071c53b6a03c913cc7a37ad4df84c49ac733a9e /lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | e93df18eccc8d9cad27853b805a5a22b124b416d (diff) |
PNaCl wire format: Remove the top-level DATALAYOUT record
PNaCl only supports a fixed data layout, so treat this as implicit in
the pexe file.
Add the data layout field back at read time, to prevent accidentally
using any architecture-specific backend data layout when translating,
and to ensure that any IR passes that use the data layout work
correctly.
BUG=https://code.google.com/p/nativeclient/issues/detail?id=3505
TEST=*.ll tests + PNaCl toolchain trybots
Review URL: https://codereview.chromium.org/17591014
Diffstat (limited to 'lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions