summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
diff options
context:
space:
mode:
authorGeorge Burgess IV <george.burgess.iv@gmail.com>2017-02-23 22:07:35 +0000
committerGeorge Burgess IV <george.burgess.iv@gmail.com>2017-02-23 22:07:35 +0000
commitd0a9e807f39fdce9e2dc6e24265e7c8188a52aff (patch)
tree73e24a7099f48213e5879e2953dc5cbff3e728c5 /llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
parent66b4e2153414e4752c75bef37afbc3e4fdf7a67f (diff)
downloadbcm5719-llvm-d0a9e807f39fdce9e2dc6e24265e7c8188a52aff.tar.gz
bcm5719-llvm-d0a9e807f39fdce9e2dc6e24265e7c8188a52aff.zip
[CodeGen] Fix ExtParameterInfo bugs in C++ CodeGen code.
This patch makes use of the prefix/suffix ABI argument distinction that was introduced in r295870, so that we now emit ExtParameterInfo at the correct offset for member calls that have added ABI arguments. I don't see a good way to test the generated param info, since we don't actually seem to use it in CGFunctionInfo outside of Swift. Any suggestions/thoughts for how to better test this are welcome. :) This patch also fixes a small bug with inheriting constructors: if we decide not to pass args into an base class ctor, we would still generate ExtParameterInfo as though we did. The added test-case is for that behavior. llvm-svn: 296024
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud