aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2014-11-05 17:21:00 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2014-11-05 17:21:00 +0000
commita1099840ff5b2f7e5ce68d617d13421a9a639a52 (patch)
tree36715e6d0ac07aa51138d68c565886bc9361f390 /clang/lib/CodeGen/CodeGenModule.cpp
parent9727e7865e7e3d2a302f4f8562ae558ccb650c0d (diff)
downloadllvm-a1099840ff5b2f7e5ce68d617d13421a9a639a52.zip
llvm-a1099840ff5b2f7e5ce68d617d13421a9a639a52.tar.gz
llvm-a1099840ff5b2f7e5ce68d617d13421a9a639a52.tar.bz2
[dfsan] Abort at runtime on indirect calls to uninstrumented vararg functions.
We currently have no infrastructure to support these correctly. This is accomplished by generating a call to a runtime library function that aborts at runtime in place of the regular wrapper for such functions. Direct calls are rewritten in the usual way during traversal of the caller's IR. We also remove the "split-stack" attribute from such wrappers, as the code generator cannot currently handle split-stack vararg functions. llvm-svn: 221360
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions