[PATCH] D81323: Move *San module passes later in the NPM pipeline

2020-06-08 Thread Arthur Eubanks via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rGc07339c6754e: Move *San module passes later in the NPM pipeline (authored by aeubanks). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D81323/new/ https://rev

[PATCH] D81323: Move *San module passes later in the NPM pipeline

2020-06-05 Thread Arthur Eubanks via Phabricator via cfe-commits
aeubanks added a comment. Could you take a look again at the test changes? LTO + sanitizers doesn't work under NPM because [1] never ends up calling the passes registered via registerOptimizerLastEPCallback(). [1] https://github.com/llvm/llvm-project/blob/e429cffd4f228f70c1d9df0e5d77c08590dd976

[PATCH] D81323: Move *San module passes later in the NPM pipeline

2020-06-05 Thread Arthur Eubanks via Phabricator via cfe-commits
aeubanks updated this revision to Diff 268993. aeubanks added a comment. Update some tests Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D81323/new/ https://reviews.llvm.org/D81323 Files: clang/lib/CodeGen/BackendUtil.cpp clang/test/CodeGen/asa

[PATCH] D81323: Move *San module passes later in the NPM pipeline

2020-06-05 Thread Arthur Eubanks via Phabricator via cfe-commits
aeubanks added a comment. This is causing some tests under check-clang to fail, taking a look. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D81323/new/ https://reviews.llvm.org/D81323 ___ cfe-commits m

[PATCH] D81323: Move *San module passes later in the NPM pipeline

2020-06-05 Thread Arthur Eubanks via Phabricator via cfe-commits
aeubanks created this revision. aeubanks added reviewers: leonardchan, vitalybuka. Herald added a project: clang. Herald added a subscriber: cfe-commits. This fixes pr33372.cpp under the new pass manager. ASan adds padding to globals. For example, it will change a {i32, i32, i32} to a {{i32, i32