[compiler-rt] r355034 - Fixup compilation/test failures after r354960 and r355013.

James Y Knight via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 27 13:47:35 PST 2019


Author: jyknight
Date: Wed Feb 27 13:47:35 2019
New Revision: 355034

URL: http://llvm.org/viewvc/llvm-project?rev=355034&view=rev
Log:
Fixup compilation/test failures after r354960 and r355013.

Modified:
    compiler-rt/trunk/lib/sanitizer_common/symbolizer/sanitizer_symbolize.cc

Modified: compiler-rt/trunk/lib/sanitizer_common/symbolizer/sanitizer_symbolize.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/symbolizer/sanitizer_symbolize.cc?rev=355034&r1=355033&r2=355034&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/symbolizer/sanitizer_symbolize.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/symbolizer/sanitizer_symbolize.cc Wed Feb 27 13:47:35 2019
@@ -39,8 +39,9 @@ bool __sanitizer_symbolize_code(const ch
     llvm::symbolize::DIPrinter Printer(OS);
     // TODO: it is neccessary to set proper SectionIndex here.
     // object::SectionedAddress::UndefSection works for only absolute addresses.
-    auto ResOrErr =
-        getDefaultSymbolizer()->symbolizeInlinedCode(ModuleName, {ModuleOffset, object::SectionedAddress::UndefSection});
+    auto ResOrErr = getDefaultSymbolizer()->symbolizeInlinedCode(
+        ModuleName,
+        {ModuleOffset, llvm::object::SectionedAddress::UndefSection});
     Printer << (ResOrErr ? ResOrErr.get() : llvm::DIInliningInfo());
   }
   return __sanitizer::internal_snprintf(Buffer, MaxLength, "%s",
@@ -55,8 +56,9 @@ bool __sanitizer_symbolize_data(const ch
     llvm::symbolize::DIPrinter Printer(OS);
     // TODO: it is neccessary to set proper SectionIndex here.
     // object::SectionedAddress::UndefSection works for only absolute addresses.
-    auto ResOrErr =
-        getDefaultSymbolizer()->symbolizeData(ModuleName, {ModuleOffset, object::SectionedAddress::UndefSection});
+    auto ResOrErr = getDefaultSymbolizer()->symbolizeData(
+        ModuleName,
+        {ModuleOffset, llvm::object::SectionedAddress::UndefSection});
     Printer << (ResOrErr ? ResOrErr.get() : llvm::DIGlobal());
   }
   return __sanitizer::internal_snprintf(Buffer, MaxLength, "%s",




More information about the llvm-commits mailing list