diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2017-07-31 20:45:14 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2017-07-31 20:45:14 +0000 |
commit | 8867b216dc9635a922c0fe0766c76f60c2266c60 (patch) | |
tree | f1800f9a8bcba81ee5973f92c8a8313c86e8e45a /lldb/packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py | |
parent | bcd204b47887e159981b89ab65c29cd939b77d6c (diff) | |
download | bcm5719-llvm-8867b216dc9635a922c0fe0766c76f60c2266c60.tar.gz bcm5719-llvm-8867b216dc9635a922c0fe0766c76f60c2266c60.zip |
Fix logic for generating llvm.type.test()s
CodeGenFunction::EmitTypeMetadataCodeForVCall() could output an
llvm.assume(llvm.type.test())when CFI was enabled, optimizing out the
vcall check. This case was only reached when: 1) CFI-vcall was enabled,
2) -fwhole-program-tables was specified, and 3)
-fno-sanitize-trap=cfi-vcall was specified.
Patch by Vlad Tsyrklevich!
Differential Revision: https://reviews.llvm.org/D36013
llvm-svn: 309622
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py')
0 files changed, 0 insertions, 0 deletions