[PATCH] D159349: [DWARFLinkerParallel][PowerPC] Cure tests failing on powerpc machine.

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 1 17:06:05 PDT 2023


aprantl accepted this revision.
aprantl added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/lib/DWARFLinkerParallel/DWARFLinkerImpl.cpp:98
 
-    for (const std::unique_ptr<DWARFUnit> &OrigCU :
-         Context->InputDWARFFile.Dwarf->compile_units()) {
-      if (!Format)
-        Format = OrigCU.get()->getFormParams();
-    }
+    if (TheDwarfEmitter == nullptr)
+      GlobalEndianness = Context->getEndianness();
----------------
If (!...)


================
Comment at: llvm/lib/DWARFLinkerParallel/OutputSections.h:294
     this->Format = Format;
-    this->Endianess = Endianess;
+    this->Endianness = Endianess;
   }
----------------
same type on rhs


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D159349



More information about the llvm-commits mailing list