aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELFObjectFile.cpp
diff options
context:
space:
mode:
authorYounan Zhang <zyn7109@gmail.com>2023-03-25 23:15:54 +0800
committerYounan Zhang <zyn7109@gmail.com>2023-03-27 10:27:11 +0800
commit0b103edf5b2c6178c2725a9ff085c6ccc866bccb (patch)
tree182b48d19b4d8ebd72453ee054acd5956fcbac0a /llvm/lib/Object/ELFObjectFile.cpp
parent12e8463b149c5e982942a9af7080521026979141 (diff)
downloadllvm-0b103edf5b2c6178c2725a9ff085c6ccc866bccb.zip
llvm-0b103edf5b2c6178c2725a9ff085c6ccc866bccb.tar.gz
llvm-0b103edf5b2c6178c2725a9ff085c6ccc866bccb.tar.bz2
[clangd] Fix a hover crash on unsigned 64bit value
This patch adapts to D140059, which makes an assumption that the caller of `APSInt::getExtValue` promises no narrowing conversion happens, i.e., from unsigned int64 to signed int64. It also fixes clangd/clangd#1557. Reviewed By: nridge Differential Revision: https://reviews.llvm.org/D146874
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions