aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-06-29 20:29:10 +0200
committerNikita Popov <nikita.ppv@gmail.com>2021-06-29 20:32:14 +0200
commitc4de78e91c9341b5b1abf927da15e0956a484b79 (patch)
tree6d8793f63cd363c0b2757c73c63e06da52c3824d /llvm/lib/CodeGen/MachineFunction.cpp
parent69937a8080bc4828f0b317cd54a03ed2704b661a (diff)
downloadllvm-c4de78e91c9341b5b1abf927da15e0956a484b79.zip
llvm-c4de78e91c9341b5b1abf927da15e0956a484b79.tar.gz
llvm-c4de78e91c9341b5b1abf927da15e0956a484b79.tar.bz2
[SanitizerCoverage] Fix global type check with opaque pointers
The code was previously relying on the fact that an incorrectly typed global would result in the insertion of a BitCast constant expression. With opaque pointers, this is no longer the case, so we should check the type explicitly.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions