diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2017-06-30 22:47:27 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2017-06-30 22:47:27 +0000 |
commit | 76287ab3a09247bf68051845c33d0c629de3712d (patch) | |
tree | 1ee8333df2864913bb10ffb86f8e4619644c45b5 /llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.h | |
parent | 3cede51322c253199f0de5d0619d8b9e947ab90a (diff) | |
download | bcm5719-llvm-76287ab3a09247bf68051845c33d0c629de3712d.tar.gz bcm5719-llvm-76287ab3a09247bf68051845c33d0c629de3712d.zip |
Rename and adjust processFixupValue.
It was not processing any value. All that it ever did was force
relocations, so name it shouldForceRelocation.
llvm-svn: 306906
Diffstat (limited to 'llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.h')
-rw-r--r-- | llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.h b/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.h index 6a0ba2ed41c..84b54bbb9a4 100644 --- a/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.h +++ b/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.h @@ -38,10 +38,8 @@ public: const MCFixupKindInfo &getFixupKindInfo(MCFixupKind Kind) const override; - /// processFixupValue - Target hook to process the literal value of a fixup - /// if necessary. - void processFixupValue(const MCAssembler &Asm, const MCFixup &Fixup, - const MCValue &Target, bool &IsResolved) override; + bool shouldForceRelocation(const MCAssembler &Asm, const MCFixup &Fixup, + const MCValue &Target) override; unsigned adjustFixupValue(const MCAssembler &Asm, const MCFixup &Fixup, const MCValue &Target, uint64_t Value, bool IsPCRel, |