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

Alexey Lapshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 1 03:49:43 PDT 2023


avl created this revision.
avl added reviewers: JDevlieghere, aprantl, rastogishubham.
Herald added subscribers: steven.zhang, shchenz, hiraditya, nemanjai.
Herald added a project: All.
avl requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

location-expression.test and tls-variable.test failed because wrong
endianness was used on powerpc machine. To fix the issue this patch
uses endianness from debug map as endianness for the whole target file.
Previosly, architecture endianness won over what is specified
in debug map.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D159349

Files:
  llvm/lib/DWARFLinkerParallel/DWARFLinkerCompileUnit.h
  llvm/lib/DWARFLinkerParallel/DWARFLinkerImpl.cpp
  llvm/lib/DWARFLinkerParallel/DWARFLinkerImpl.h
  llvm/lib/DWARFLinkerParallel/OutputSections.h
  llvm/test/tools/dsymutil/X86/location-expression.test
  llvm/test/tools/dsymutil/X86/tls-variable.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159349.555325.patch
Type: text/x-patch
Size: 9757 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230901/2df8abc9/attachment.bin>


More information about the llvm-commits mailing list