summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2016-10-13 19:45:08 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2016-10-13 19:45:08 +0000
commit887a82c5d633548c97d3e5f5b586bb88f5bb8943 (patch)
tree25d6c1d847016d71cd3326079ec06267f63b0292 /clang/lib/CodeGen/CodeGenModule.cpp
parent52ffa6711b967770f08ebb606a649c3afb9f5e66 (diff)
downloadbcm5719-llvm-887a82c5d633548c97d3e5f5b586bb88f5bb8943.tar.gz
bcm5719-llvm-887a82c5d633548c97d3e5f5b586bb88f5bb8943.zip
CodeGen: ensure that the runtime calling convention matches
Incorrect specification of the calling convention results in UB which can cause the code path to be eliminated. Simplify the existing code by using the RuntimeCall constructor in `CodeGenFunction`. llvm-svn: 284154
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud