diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-10-13 19:45:08 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-10-13 19:45:08 +0000 |
commit | 887a82c5d633548c97d3e5f5b586bb88f5bb8943 (patch) | |
tree | 25d6c1d847016d71cd3326079ec06267f63b0292 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 52ffa6711b967770f08ebb606a649c3afb9f5e66 (diff) | |
download | bcm5719-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