summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2015-01-13 23:10:43 +0000
committerAdrian Prantl <aprantl@apple.com>2015-01-13 23:10:43 +0000
commit8995f5c92f45c6ab335ba61c7e08f5462f9f681f (patch)
tree6503d788f99475745db2970b48e568b7db86aa72 /llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
parent1ae04916cca78d8a7f024c3069122be46efda111 (diff)
downloadbcm5719-llvm-8995f5c92f45c6ab335ba61c7e08f5462f9f681f.tar.gz
bcm5719-llvm-8995f5c92f45c6ab335ba61c7e08f5462f9f681f.zip
Debug Info: Turn DIExpression::getFrameRegister() into an isFrameRegister()
function. NFC. llvm-svn: 225846
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
index 5d6a03080c4..b13f394b4c0 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
@@ -46,8 +46,9 @@ void DebugLocDwarfExpression::EmitUnsigned(unsigned Value) {
BS.EmitULEB128(Value, Twine(Value));
}
-unsigned DebugLocDwarfExpression::getFrameRegister() {
- llvm_unreachable("not available");
+bool DebugLocDwarfExpression::isFrameRegister(unsigned MachineReg) {
+ // This information is not available while emitting .debug_loc entries.
+ return false;
}
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud