[PATCH] D109401: Log to the right stream in DwarfTransformer::handleDie().

Greg Clayton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 8 14:00:35 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG14850a062845: Log to the right stream in DwarfTransformer::handleDie(). (authored by clayborg).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109401/new/

https://reviews.llvm.org/D109401

Files:
  llvm/lib/DebugInfo/GSYM/DwarfTransformer.cpp


Index: llvm/lib/DebugInfo/GSYM/DwarfTransformer.cpp
===================================================================
--- llvm/lib/DebugInfo/GSYM/DwarfTransformer.cpp
+++ llvm/lib/DebugInfo/GSYM/DwarfTransformer.cpp
@@ -392,11 +392,11 @@
         if (Range.LowPC != 0) {
           if (!Gsym.isQuiet()) {
             // Unexpected invalid address, emit a warning
-            Log << "warning: DIE has an address range whose start address is "
-                   "not in any executable sections ("
-                << *Gsym.GetValidTextRanges()
-                << ") and will not be processed:\n";
-            Die.dump(Log, 0, DIDumpOptions::getForSingleDIE());
+            OS << "warning: DIE has an address range whose start address is "
+                  "not in any executable sections ("
+               << *Gsym.GetValidTextRanges()
+               << ") and will not be processed:\n";
+            Die.dump(OS, 0, DIDumpOptions::getForSingleDIE());
           }
         }
         break;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109401.371439.patch
Type: text/x-patch
Size: 1003 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210908/e4ac88c8/attachment.bin>


More information about the llvm-commits mailing list