summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2019-07-17 23:35:15 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2019-07-17 23:35:15 +0000
commit749f556bbd146f1bf066a994e7a9a9fdc65ab6a1 (patch)
tree304656487aac32671e5c1b4cb3f82def27f9e00c /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parent6abd78cc7c97356c1f6e9bf65b19ef3c9cc0f6b9 (diff)
downloadbcm5719-llvm-749f556bbd146f1bf066a994e7a9a9fdc65ab6a1.tar.gz
bcm5719-llvm-749f556bbd146f1bf066a994e7a9a9fdc65ab6a1.zip
hwasan: Use C++ driver for cfi.cc test.
It turns out that this test was only passing by accident. It was relying on the optimizer to remove the only reference to A's vtable by realizing that the CFI check will always fail. The vtable contains a reference to RTTI in libc++, which will be unresolved because the C driver won't link against it. This was found by my prototype implementation of HWASAN for globals, which happens to end up preserving the reference. Differential Revision: https://reviews.llvm.org/D64890 llvm-svn: 366389
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud