summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-09-14 21:49:21 +0000
committerReid Kleckner <rnk@google.com>2016-09-14 21:49:21 +0000
commit4ad127f5fcb3b3495cc913dee993d447c269daa6 (patch)
tree53ef76867b1db61b2373ed5ad4188b1d8f0c7342
parent727ab8a80346eeec39e13293f5dc01cc82bb1d95 (diff)
downloadbcm5719-llvm-4ad127f5fcb3b3495cc913dee993d447c269daa6.tar.gz
bcm5719-llvm-4ad127f5fcb3b3495cc913dee993d447c269daa6.zip
Fix indentation in codeview code
llvm-svn: 281542
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
index 91a480ec043..532c9f07b99 100644
--- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
@@ -642,13 +642,13 @@ void CodeViewDebug::emitDebugInfoForFunction(const Function *GV,
OS.emitAbsoluteSymbolDiff(ProcRecordEnd, ProcRecordBegin, 2);
OS.EmitLabel(ProcRecordBegin);
- if (GV->hasLocalLinkage()) {
- OS.AddComment("Record kind: S_LPROC32_ID");
- OS.EmitIntValue(unsigned(SymbolKind::S_LPROC32_ID), 2);
- } else {
- OS.AddComment("Record kind: S_GPROC32_ID");
- OS.EmitIntValue(unsigned(SymbolKind::S_GPROC32_ID), 2);
- }
+ if (GV->hasLocalLinkage()) {
+ OS.AddComment("Record kind: S_LPROC32_ID");
+ OS.EmitIntValue(unsigned(SymbolKind::S_LPROC32_ID), 2);
+ } else {
+ OS.AddComment("Record kind: S_GPROC32_ID");
+ OS.EmitIntValue(unsigned(SymbolKind::S_GPROC32_ID), 2);
+ }
// These fields are filled in by tools like CVPACK which run after the fact.
OS.AddComment("PtrParent");
OpenPOWER on IntegriCloud