summaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCInstrAnalysis.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/MC/MCInstrAnalysis.cpp')
-rw-r--r--llvm/lib/MC/MCInstrAnalysis.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/llvm/lib/MC/MCInstrAnalysis.cpp b/llvm/lib/MC/MCInstrAnalysis.cpp
index a7dc0626d0ab..52b59185c6fc 100644
--- a/llvm/lib/MC/MCInstrAnalysis.cpp
+++ b/llvm/lib/MC/MCInstrAnalysis.cpp
@@ -29,8 +29,14 @@ bool MCInstrAnalysis::evaluateBranch(const MCInst & /*Inst*/, uint64_t /*Addr*/,
return false;
}
-Optional<uint64_t>
-MCInstrAnalysis::evaluateMemoryOperandAddress(const MCInst &Inst, uint64_t Addr,
- uint64_t Size) const {
+Optional<uint64_t> MCInstrAnalysis::evaluateMemoryOperandAddress(
+ const MCInst &Inst, const MCSubtargetInfo *STI, uint64_t Addr,
+ uint64_t Size) const {
return None;
}
+
+Optional<uint64_t>
+MCInstrAnalysis::getMemoryOperandRelocationOffset(const MCInst &Inst,
+ uint64_t Size) const {
+ return None;
+} \ No newline at end of file