aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2020-10-20 17:08:07 -0700
committerVedant Kumar <vsk@apple.com>2020-10-28 12:06:02 -0700
commit99053462216cf835eb3ae063942c618d9609de87 (patch)
tree682bbf77ef364c7a006952dee23d8707d7aca368 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent41b09f4efff1a9cd82af2d7d7eeb9916a88332e5 (diff)
downloadllvm-99053462216cf835eb3ae063942c618d9609de87.zip
llvm-99053462216cf835eb3ae063942c618d9609de87.tar.gz
llvm-99053462216cf835eb3ae063942c618d9609de87.tar.bz2
[DebugInfo] Fix legacy ZExt emission when FromBits >= 64 (PR47927)
Fix an out-of-bounds shift in emitLegacyZExt by using a slightly more complicated dwarf expression to create the zext mask. This addresses a UBSan diagnostic seen when compiling compiler-rt (llvm.org/PR47927). rdar://70307714 Differential Revision: https://reviews.llvm.org/D89838
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions