[PATCH] D43627: [DEBUGINFO] Add flag for DWARF2 or less to use sections as references.

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 27 13:15:33 PST 2018


JDevlieghere added inline comments.


================
Comment at: lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp:274
+  const TargetLoweringObjectFile &TLOF = Asm->getObjFileLowering();
+  if (DD->useSectionsAsReferences()) {
+    LineTableStartSym = TLOF.getDwarfLineSection()->getBeginSymbol();
----------------
The LLVM coding standard says not to put braces around single statement blocks. 


Repository:
  rL LLVM

https://reviews.llvm.org/D43627





More information about the llvm-commits mailing list