mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
Rename isString -> isExternalSymbol; getString -> getExternalSymbol since these work on externsym machine relocations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58895 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -885,9 +885,9 @@ bool JITEmitter::finishFunction(MachineFunction &F) {
|
||||
MachineRelocation &MR = Relocations[i];
|
||||
void *ResultPtr = 0;
|
||||
if (!MR.letTargetResolve()) {
|
||||
if (MR.isString()) {
|
||||
ResultPtr = TheJIT->getPointerToNamedFunction(MR.getString());
|
||||
DOUT << "JIT: Map \'" << MR.getString() << "\' to ["
|
||||
if (MR.isExternalSymbol()) {
|
||||
ResultPtr = TheJIT->getPointerToNamedFunction(MR.getExternalSymbol());
|
||||
DOUT << "JIT: Map \'" << MR.getExternalSymbol() << "\' to ["
|
||||
<< ResultPtr << "]\n";
|
||||
|
||||
// If the target REALLY wants a stub for this function, emit it now.
|
||||
|
||||
Reference in New Issue
Block a user