aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorEllis Hoag <ellis.sparky.hoag@gmail.com>2022-03-15 11:10:32 -0700
committerEllis Hoag <ellis.sparky.hoag@gmail.com>2022-03-17 10:16:23 -0700
commit84c6689b1511cc7bcad8f9f166bdc9808b8cdac8 (patch)
tree38782c41133dfd0ec6bd94f35fd38cd7517b320b /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent54b145d5cac2b008380828e8f67c439038ea370b (diff)
downloadllvm-84c6689b1511cc7bcad8f9f166bdc9808b8cdac8.zip
llvm-84c6689b1511cc7bcad8f9f166bdc9808b8cdac8.tar.gz
llvm-84c6689b1511cc7bcad8f9f166bdc9808b8cdac8.tar.bz2
[AlwaysInliner] Check inliner errors even without assserts
When we build clang without asserts we should still check the result of `InlineFunction()` to be sure there wasn't an error. Otherwise we could incorrectly merge attributes in the next line. This also removes a redundent call to `getCaller()`. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D121722
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions