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

Issue 14670017: Start a whitelist of intrinsics for the PNaCl ABI checker. (Closed)

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

Description

Start a whitelist of intrinsics for the PNaCl ABI checker. This list is currently too small to support our tests (scons, gcc, llvm). To prevent the tests from breaking, there is a -pnaclabi-allow-intrinsics flag which defaults to true. To turn on the checking for real, set -pnaclabi-allow-intrinsics=0. We will avoid actually using the -pnaclabi-allow-intrinsics flags in tests, and try to just stick with the -pnacl-disable-abi-check flag. Remove this flag soon. BUG=https://code.google.com/p/nativeclient/issues/detail?id=3378 R=eliben@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-llvm.git;a=commit;h=77cc10f

Patch Set 1 #

Total comments: 9

Patch Set 2 : organize more #

Total comments: 6

Patch Set 3 : be more explicit about what tests are known to use #

Patch Set 4 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -0 lines) Patch
M lib/Analysis/NaCl/PNaClABIVerifyModule.cpp View 1 2 3 5 chunks +86 lines, -0 lines 0 comments Download
A test/NaCl/PNaClABI/intrinsics.ll View 1 1 chunk +62 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
jvoung (off chromium)
7 years, 7 months ago (2013-05-07 00:02:33 UTC) #1
eliben
https://codereview.chromium.org/14670017/diff/1/lib/Analysis/NaCl/PNaClABIVerifyModule.cpp File lib/Analysis/NaCl/PNaClABIVerifyModule.cpp (right): https://codereview.chromium.org/14670017/diff/1/lib/Analysis/NaCl/PNaClABIVerifyModule.cpp#newcode36 lib/Analysis/NaCl/PNaClABIVerifyModule.cpp:36: static cl::opt<bool> PNaClABIAllowIntrinsics("pnaclabi-allow-intrinsics", Can we divide intrinsics into 3 ...
7 years, 7 months ago (2013-05-07 15:27:40 UTC) #2
jvoung (off chromium)
https://codereview.chromium.org/14670017/diff/1/lib/Analysis/NaCl/PNaClABIVerifyModule.cpp File lib/Analysis/NaCl/PNaClABIVerifyModule.cpp (right): https://codereview.chromium.org/14670017/diff/1/lib/Analysis/NaCl/PNaClABIVerifyModule.cpp#newcode36 lib/Analysis/NaCl/PNaClABIVerifyModule.cpp:36: static cl::opt<bool> PNaClABIAllowIntrinsics("pnaclabi-allow-intrinsics", On 2013/05/07 15:27:40, eliben wrote: > ...
7 years, 7 months ago (2013-05-07 17:39:46 UTC) #3
eliben
On 2013/05/07 17:39:46, jvoung (cr) wrote: > https://codereview.chromium.org/14670017/diff/1/lib/Analysis/NaCl/PNaClABIVerifyModule.cpp > File lib/Analysis/NaCl/PNaClABIVerifyModule.cpp (right): > > https://codereview.chromium.org/14670017/diff/1/lib/Analysis/NaCl/PNaClABIVerifyModule.cpp#newcode36 ...
7 years, 7 months ago (2013-05-07 17:46:24 UTC) #4
eliben
https://codereview.chromium.org/14670017/diff/6001/lib/Analysis/NaCl/PNaClABIVerifyModule.cpp File lib/Analysis/NaCl/PNaClABIVerifyModule.cpp (right): https://codereview.chromium.org/14670017/diff/6001/lib/Analysis/NaCl/PNaClABIVerifyModule.cpp#newcode38 lib/Analysis/NaCl/PNaClABIVerifyModule.cpp:38: cl::desc("Allow all LLVM intrinsics duing PNaCl ABI verification."), duing ...
7 years, 7 months ago (2013-05-07 17:49:36 UTC) #5
jvoung (off chromium)
https://codereview.chromium.org/14670017/diff/1/lib/Analysis/NaCl/PNaClABIVerifyModule.cpp File lib/Analysis/NaCl/PNaClABIVerifyModule.cpp (right): https://codereview.chromium.org/14670017/diff/1/lib/Analysis/NaCl/PNaClABIVerifyModule.cpp#newcode36 lib/Analysis/NaCl/PNaClABIVerifyModule.cpp:36: static cl::opt<bool> PNaClABIAllowIntrinsics("pnaclabi-allow-intrinsics", On 2013/05/07 17:39:46, jvoung (cr) wrote: ...
7 years, 7 months ago (2013-05-07 21:24:41 UTC) #6
eliben
On 2013/05/07 21:24:41, jvoung (cr) wrote: > https://codereview.chromium.org/14670017/diff/1/lib/Analysis/NaCl/PNaClABIVerifyModule.cpp > File lib/Analysis/NaCl/PNaClABIVerifyModule.cpp (right): > > https://codereview.chromium.org/14670017/diff/1/lib/Analysis/NaCl/PNaClABIVerifyModule.cpp#newcode36 ...
7 years, 7 months ago (2013-05-07 22:01:32 UTC) #7
eliben
lgtm
7 years, 7 months ago (2013-05-07 22:01:50 UTC) #8
jvoung (off chromium)
https://codereview.chromium.org/14670017/diff/1/lib/Analysis/NaCl/PNaClABIVerifyModule.cpp File lib/Analysis/NaCl/PNaClABIVerifyModule.cpp (right): https://codereview.chromium.org/14670017/diff/1/lib/Analysis/NaCl/PNaClABIVerifyModule.cpp#newcode197 lib/Analysis/NaCl/PNaClABIVerifyModule.cpp:197: if (MI->isIntrinsic()) { On 2013/05/07 17:39:46, jvoung (cr) wrote: ...
7 years, 7 months ago (2013-05-07 22:32:18 UTC) #9
jvoung (off chromium)
https://codereview.chromium.org/14670017/diff/1/lib/Analysis/NaCl/PNaClABIVerifyModule.cpp File lib/Analysis/NaCl/PNaClABIVerifyModule.cpp (right): https://codereview.chromium.org/14670017/diff/1/lib/Analysis/NaCl/PNaClABIVerifyModule.cpp#newcode197 lib/Analysis/NaCl/PNaClABIVerifyModule.cpp:197: if (MI->isIntrinsic()) { On 2013/05/07 22:32:18, jvoung (cr) wrote: ...
7 years, 7 months ago (2013-05-07 22:33:08 UTC) #10
jvoung (off chromium)
7 years, 7 months ago (2013-05-07 23:01:26 UTC) #11
Message was sent while issue was closed.
Committed patchset #4 manually as r77cc10f (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698