diff options
author | Vedant Kumar <vsk@apple.com> | 2020-10-20 17:08:07 -0700 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2020-10-28 12:06:02 -0700 |
commit | 99053462216cf835eb3ae063942c618d9609de87 (patch) | |
tree | 682bbf77ef364c7a006952dee23d8707d7aca368 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 41b09f4efff1a9cd82af2d7d7eeb9916a88332e5 (diff) | |
download | llvm-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