summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorBob Haarman <llvm@inglorion.net>2017-08-29 04:08:16 +0000
committerBob Haarman <llvm@inglorion.net>2017-08-29 04:08:16 +0000
commit858d0983830cfbfdd269a4b72e7fb45f12909beb (patch)
tree35d629e077d9859025c78c486573846d4ac2b22e /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parentc3ef532c2d586d9bcda7f41482f1cc4019c5b131 (diff)
downloadbcm5719-llvm-858d0983830cfbfdd269a4b72e7fb45f12909beb.tar.gz
bcm5719-llvm-858d0983830cfbfdd269a4b72e7fb45f12909beb.zip
Revert "[codeview] don't try to emit variable locations without registers"
This reverts commit a256fbcacf448ee793d23552c46ed2971bf9eff5. llvm-svn: 311976
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
index 6a35e3214bd..ed2c263d320 100644
--- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
@@ -988,7 +988,7 @@ void CodeViewDebug::calculateRanges(
}
// If we don't know how to handle this range, skip past it.
- if (!Supported || Location.Register == 0 || (Location.Offset && !Location.InMemory))
+ if (!Supported || (Location.Offset && !Location.InMemory))
continue;
// Handle the two cases we can handle: indirect in memory and in register.
OpenPOWER on IntegriCloud