diff options
author | Mark Seaborn <mseaborn@chromium.org> | 2013-06-13 15:50:59 -0700 |
---|---|---|
committer | Mark Seaborn <mseaborn@chromium.org> | 2013-06-13 15:50:59 -0700 |
commit | 81aece3b90250dd6dd1bd99af3f5c7b516ed4628 (patch) | |
tree | f3ac2d5ebafe0f544377465ccd9464c309fcce30 /lib/Bitcode/NaCl/Reader/NaClBitcodeReader.cpp | |
parent | 9b861c2166a7a2e388466097ec73613896e7373b (diff) |
PNaCl: Strip more unwanted attributes: "align" on functions and "unnamed_addr"
Do this stripping in the StripAttributes pass. Change the pass to be
a ModulePass so that it can modify global variables.
Change the ABI verifier to check this.
Also update a comment about "nuw" and "nsw".
BUG=https://code.google.com/p/nativeclient/issues/detail?id=3415
TEST=*.ll tests + PNaCl toolchain trybots
Review URL: https://codereview.chromium.org/16991002
Diffstat (limited to 'lib/Bitcode/NaCl/Reader/NaClBitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions