aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-03-11 12:10:00 +0100
committerNikita Popov <npopov@redhat.com>2022-03-11 12:12:54 +0100
commitcda82d39f3f25d8f6d1c1a105a59001339e54bb2 (patch)
treecfc76e8de04150c52ede3b56dd2a31a4168575de /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentfbbc41f8dd233f1f0655852ca3e9634b1bb90cf0 (diff)
downloadllvm-cda82d39f3f25d8f6d1c1a105a59001339e54bb2.zip
llvm-cda82d39f3f25d8f6d1c1a105a59001339e54bb2.tar.gz
llvm-cda82d39f3f25d8f6d1c1a105a59001339e54bb2.tar.bz2
[Bitcode] Check for type mismatch when assigning value
If the value is forward-declared, then the type must match, otherwise we can't RAUW.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions