diff options
| author | Matt Morehouse <mascasa@google.com> | 2021-10-29 10:37:34 -0700 |
|---|---|---|
| committer | Matt Morehouse <mascasa@google.com> | 2021-10-29 10:37:43 -0700 |
| commit | 33cc0cfd46779d7dcdea20b552f57be429f0547b (patch) | |
| tree | 89c91e6226227158611b3c68b6f1384a90f8c912 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | f5537643b88be7443917a7c7dc0602a97ff7438d (diff) | |
[X86] Don't affect jump tables under +tagged-globals.
`classifyLocalReference(nullptr)` is called to get the appropriate
relocation type for jump tables. We should not use @GOTPCREL for this
case.
The new test cases trigger assertions without this patch.
Reviewed By: eugenis
Differential Revision: https://reviews.llvm.org/D112832
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
