diff options
author | Hasyimi Bahrudin <hasyimi@ridebeam.com> | 2021-05-27 04:01:20 +0000 |
---|---|---|
committer | Mehdi Amini <joker.eph@gmail.com> | 2021-05-27 04:20:03 +0000 |
commit | 8d25762720660aba3344752e577ae7017e6125c2 (patch) | |
tree | 4c8fb6c199e4ee22a94bcf93ebc87cc2726e81f6 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 0ce58c52d50bd2edd09df7c7ef3dd4dc85b05992 (diff) | |
download | llvm-8d25762720660aba3344752e577ae7017e6125c2.zip llvm-8d25762720660aba3344752e577ae7017e6125c2.tar.gz llvm-8d25762720660aba3344752e577ae7017e6125c2.tar.bz2 |
Fix non-global-value-max-name-size not considered by LLParser
`non-global-value-max-name-size` is used by `Value` to cap the length of local value name. However, this flag is not considered by `LLParser`, which leads to unexpected `use of undefined value error`. The fix is to move the responsibility of capping the length to `ValueSymbolTable`.
The test is the one provided by [[ https://bugs.llvm.org/show_bug.cgi?id=45899 | Mikael in the bug report ]].
Reviewed By: mehdi_amini
Differential Revision: https://reviews.llvm.org/D102707
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions