diff options
| author | Eli Friedman <efriedma@quicinc.com> | 2019-03-12 18:14:16 +0000 |
|---|---|---|
| committer | Eli Friedman <efriedma@quicinc.com> | 2019-03-12 18:14:16 +0000 |
| commit | 74b6aae4e8f47bfe150bb2d943474b4529403a37 (patch) | |
| tree | 83ca31077cd4a9520a8244291558f34d5bd07415 /llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp | |
| parent | b6bfcfc847afed9580e9cf8c8e3ada647a876a6f (diff) | |
| download | bcm5719-llvm-74b6aae4e8f47bfe150bb2d943474b4529403a37.tar.gz bcm5719-llvm-74b6aae4e8f47bfe150bb2d943474b4529403a37.zip | |
[RISCV][MC] Find matching pcrel_hi fixup in more cases.
If a symbol points to the end of a fragment, instead of searching for
fixups in that fragment, search in the next fragment.
Fixes spurious assembler error with subtarget change next to "la"
pseudo-instruction, or expanded equivalent.
Alternate proposal to fix the problem discussed in
https://reviews.llvm.org/D58759.
Testcase by Ana Pazos.
Differential Revision: https://reviews.llvm.org/D58943
llvm-svn: 355946
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp')
0 files changed, 0 insertions, 0 deletions

