diff options
author | Jonathan Roelofs <jonathan@codesourcery.com> | 2017-04-11 14:51:49 +0000 |
---|---|---|
committer | Jonathan Roelofs <jonathan@codesourcery.com> | 2017-04-11 14:51:49 +0000 |
commit | 5e39c446545225384027fcdf9e4b8827377a950f (patch) | |
tree | 8e37191d0c99c50505fc4a60f46bbcc3c76a5a60 | |
parent | 83b64654fd68fd3cb5fa5a138c077b268bd2ec16 (diff) | |
download | bcm5719-llvm-5e39c446545225384027fcdf9e4b8827377a950f.tar.gz bcm5719-llvm-5e39c446545225384027fcdf9e4b8827377a950f.zip |
[AVR] Migrate to new MCAsmBackend applyFixup
https://reviews.llvm.org/D31875
Patch by Leslie Zhai!
llvm-svn: 299946
-rw-r--r-- | llvm/lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp | 2 | ||||
-rw-r--r-- | llvm/lib/Target/AVR/MCTargetDesc/AVRAsmBackend.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp b/llvm/lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp index 081d8b5740e..5c3b45ac232 100644 --- a/llvm/lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp +++ b/llvm/lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp @@ -335,7 +335,7 @@ MCObjectWriter *AVRAsmBackend::createObjectWriter(raw_pwrite_stream &OS) const { void AVRAsmBackend::applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize, uint64_t Value, - bool IsPCRel) const { + bool IsPCRel, MCContext &Ctx) const { if (Value == 0) return; // Doesn't change encoding. diff --git a/llvm/lib/Target/AVR/MCTargetDesc/AVRAsmBackend.h b/llvm/lib/Target/AVR/MCTargetDesc/AVRAsmBackend.h index 7ff4b8f350f..f2be2494684 100644 --- a/llvm/lib/Target/AVR/MCTargetDesc/AVRAsmBackend.h +++ b/llvm/lib/Target/AVR/MCTargetDesc/AVRAsmBackend.h @@ -41,7 +41,7 @@ public: MCObjectWriter *createObjectWriter(raw_pwrite_stream &OS) const override; void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize, - uint64_t Value, bool IsPCRel) const override; + uint64_t Value, bool IsPCRel, MCContext &Ctx) const override; const MCFixupKindInfo &getFixupKindInfo(MCFixupKind Kind) const override; |