[PATCH] D58759: Fixed error: could not find corresponding %pcrel_hi
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 1 15:17:49 PST 2019
efriedma added a comment.
I don't understand why it necessary to ensure the label is attached to the "correct" fragment; it's still pointing to the same address either way. Could you try a little harder in RISCVMCExpr::getPCRelHiFixup() to find the symbol? (Given an MCFragment, you can call getPrevNode() to get the previous MCFragment.)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58759/new/
https://reviews.llvm.org/D58759
More information about the llvm-commits
mailing list