Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(450)

Issue 14329025: Check for metadata in PNaCl ABI checker. (Closed)

Created:
7 years, 8 months ago by jvoung (off chromium)
Modified:
7 years, 8 months ago
CC:
native-client-reviews_googlegroups.com
Base URL:
http://git.chromium.org/native_client/pnacl-llvm.git@master
Visibility:
Public.

Description

Check for metadata in PNaCl ABI checker. Disallow all metadata by default. There is a flag "-allow-debug-metadata", which will be used in pnacl-ld driver, to not change the debugging workflow. That flag will not be present in the pnacl-abicheck driver though. We'll also run -strip-metadata within pnacl-ld, after optimizations are run, so that at least that part is checked inside pnacl-ld. CL for driver changes: https://codereview.chromium.org/14358048/ BUG= http://code.google.com/p/nativeclient/issues/detail?id=3348 R=dschuff@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-llvm.git;a=commit;h=f8b761e

Patch Set 1 #

Total comments: 4

Patch Set 2 : cleanup #

Total comments: 16

Patch Set 3 : flag in NaCl #

Patch Set 4 : stuff #

Total comments: 2

Patch Set 5 : make check more precise #

Patch Set 6 : make test prettier #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -19 lines) Patch
M include/llvm/Analysis/NaCl.h View 1 2 3 chunks +5 lines, -2 lines 0 comments Download
M lib/Analysis/NaCl/PNaClABIVerifyFunctions.cpp View 1 2 3 4 5 3 chunks +40 lines, -7 lines 0 comments Download
M lib/Analysis/NaCl/PNaClABIVerifyModule.cpp View 1 2 3 4 5 4 chunks +23 lines, -5 lines 0 comments Download
M test/NaCl/PNaClABI/types.ll View 1 2 2 chunks +14 lines, -2 lines 0 comments Download
M test/NaCl/PNaClABI/types-function.ll View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M tools/pnacl-abicheck/pnacl-abicheck.cpp View 1 2 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
jvoung (off chromium)
https://codereview.chromium.org/14329025/diff/1/tools/opt/opt.cpp File tools/opt/opt.cpp (left): https://codereview.chromium.org/14329025/diff/1/tools/opt/opt.cpp#oldcode589 tools/opt/opt.cpp:589: initializePNaClABIVerifyFunctionsPass(Registry); I'm not sure how to pass a flag ...
7 years, 8 months ago (2013-04-25 17:30:25 UTC) #1
Mark Seaborn
https://codereview.chromium.org/14329025/diff/2001/lib/Analysis/NaCl/PNaClABIVerifyFunctions.cpp File lib/Analysis/NaCl/PNaClABIVerifyFunctions.cpp (right): https://codereview.chromium.org/14329025/diff/2001/lib/Analysis/NaCl/PNaClABIVerifyFunctions.cpp#newcode46 lib/Analysis/NaCl/PNaClABIVerifyFunctions.cpp:46: AllowDebugMetadata(AllowDebugMetadata_) { I think using a trailing underscore is ...
7 years, 8 months ago (2013-04-25 18:04:32 UTC) #2
jvoung (off chromium)
https://codereview.chromium.org/14329025/diff/2001/tools/opt/opt.cpp File tools/opt/opt.cpp (left): https://codereview.chromium.org/14329025/diff/2001/tools/opt/opt.cpp#oldcode589 tools/opt/opt.cpp:589: initializePNaClABIVerifyFunctionsPass(Registry); On 2013/04/25 18:04:32, Mark Seaborn wrote: > Why ...
7 years, 8 months ago (2013-04-25 18:09:33 UTC) #3
Mark Seaborn
https://codereview.chromium.org/14329025/diff/1/tools/opt/opt.cpp File tools/opt/opt.cpp (left): https://codereview.chromium.org/14329025/diff/1/tools/opt/opt.cpp#oldcode589 tools/opt/opt.cpp:589: initializePNaClABIVerifyFunctionsPass(Registry); On 2013/04/25 17:30:25, jvoung (cr) wrote: > I'm ...
7 years, 8 months ago (2013-04-25 18:11:19 UTC) #4
jvoung (off chromium)
https://codereview.chromium.org/14329025/diff/1/tools/opt/opt.cpp File tools/opt/opt.cpp (left): https://codereview.chromium.org/14329025/diff/1/tools/opt/opt.cpp#oldcode589 tools/opt/opt.cpp:589: initializePNaClABIVerifyFunctionsPass(Registry); On 2013/04/25 18:11:19, Mark Seaborn wrote: > On ...
7 years, 8 months ago (2013-04-25 23:22:20 UTC) #5
Mark Seaborn
https://codereview.chromium.org/14329025/diff/2001/test/NaCl/PNaClABI/types-function.ll File test/NaCl/PNaClABI/types-function.ll (right): https://codereview.chromium.org/14329025/diff/2001/test/NaCl/PNaClABI/types-function.ll#newcode27 test/NaCl/PNaClABI/types-function.ll:27: ; CHECK: Function types has disallowed instruction metadata On ...
7 years, 8 months ago (2013-04-25 23:25:50 UTC) #6
Derek Schuff
https://codereview.chromium.org/14329025/diff/1/tools/opt/opt.cpp File tools/opt/opt.cpp (left): https://codereview.chromium.org/14329025/diff/1/tools/opt/opt.cpp#oldcode589 tools/opt/opt.cpp:589: initializePNaClABIVerifyFunctionsPass(Registry); On 2013/04/25 23:22:20, jvoung (cr) wrote: The separation ...
7 years, 8 months ago (2013-04-26 00:34:34 UTC) #7
jvoung (off chromium)
https://codereview.chromium.org/14329025/diff/2001/test/NaCl/PNaClABI/types-function.ll File test/NaCl/PNaClABI/types-function.ll (right): https://codereview.chromium.org/14329025/diff/2001/test/NaCl/PNaClABI/types-function.ll#newcode27 test/NaCl/PNaClABI/types-function.ll:27: ; CHECK: Function types has disallowed instruction metadata On ...
7 years, 8 months ago (2013-04-26 16:51:29 UTC) #8
Derek Schuff
lgtm
7 years, 8 months ago (2013-04-26 19:46:26 UTC) #9
jvoung (off chromium)
7 years, 8 months ago (2013-04-26 21:13:00 UTC) #10
Message was sent while issue was closed.
Committed patchset #6 manually as rf8b761e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698