summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorBob Haarman <llvm@inglorion.net>2017-08-29 21:01:55 +0000
committerBob Haarman <llvm@inglorion.net>2017-08-29 21:01:55 +0000
commita88bce1bce629b7fa7cc503fce0b2196c3de27d4 (patch)
treec6b73a634af553033175cecee5794d460631e6b2 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parent223303c5a39b232bd3d6f4b207e6e0b01febf4c5 (diff)
downloadbcm5719-llvm-a88bce1bce629b7fa7cc503fce0b2196c3de27d4.tar.gz
bcm5719-llvm-a88bce1bce629b7fa7cc503fce0b2196c3de27d4.zip
[NFC] clang-format llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
llvm-svn: 312035
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
index 23322704bc4..0b7fdfdda2a 100644
--- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
@@ -964,7 +964,8 @@ void CodeViewDebug::calculateRanges(
bool Supported =
DbgVariableLocation::extractFromMachineInstruction(Location, *DVInst);
// If not Supported, don't even look at Location because it's invalid.
- if (!Supported) continue;
+ if (!Supported)
+ continue;
// Because we cannot express DW_OP_deref in CodeView directly,
// we use a trick: we encode the type as a reference to the
@@ -990,7 +991,8 @@ 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.Register == 0 ||
+ (Location.Offset && !Location.InMemory))
continue;
// Handle the two cases we can handle: indirect in memory and in register.
OpenPOWER on IntegriCloud