aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/ModuleUtils.cpp
diff options
context:
space:
mode:
authorMark Seaborn <mseaborn@chromium.org>2013-05-29 22:54:13 -0700
committerMark Seaborn <mseaborn@chromium.org>2013-05-29 22:54:13 -0700
commitc837ccdb820fca24003741c3125da2b885b1c876 (patch)
treecef5c86642705646a63eacdc3f1b9a70a0b93e05 /lib/Transforms/Utils/ModuleUtils.cpp
parent614c108c60ef2ea51d0e5d4db871a5d954f4ecda (diff)
PNaCl ABI checker: Reject integer arguments smaller than i32
We can simplify the varargs checks by doing the checking on the FunctionType rather than having separate checks for the Function and the CallInst. (We couldn't do that prior to enabling ReplacePtrsWithInts because at that point the IR contained bitcasts to and from varargs FunctionTypes.) That simplification means we can also add the check for argument/return types in a single place too. BUG=https://code.google.com/p/nativeclient/issues/detail?id=3342 TEST=*.ll tests + PNaCl toolchain trybots + GCC torture tests + LLVM test suite Review URL: https://codereview.chromium.org/15899011
Diffstat (limited to 'lib/Transforms/Utils/ModuleUtils.cpp')
0 files changed, 0 insertions, 0 deletions