aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/XCOFFObjectFile.cpp
diff options
context:
space:
mode:
authorJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>2020-11-23 19:25:36 -0800
committerFangrui Song <i@maskray.me>2020-11-23 19:25:36 -0800
commitc2fb114475d15a1d39545f700b8c6d6e18367ca9 (patch)
tree7544a182b4a320a075ceeb0cd7d0da8e2a643569 /llvm/lib/Object/XCOFFObjectFile.cpp
parentbb1341161478dc589893cda9f808e5f5b859b5ae (diff)
downloadllvm-c2fb114475d15a1d39545f700b8c6d6e18367ca9.zip
llvm-c2fb114475d15a1d39545f700b8c6d6e18367ca9.tar.gz
llvm-c2fb114475d15a1d39545f700b8c6d6e18367ca9.tar.bz2
[Driver] Enable getOSLibDir() lib32 workaround for SPARC on Linux
This fixes the Builtins-sparc-linux testsuite failures on Linux SPARC which occur because clang cannot find the 32-bit runtime libraries when -m32 is passed on the command line. The same workaround is already being used on X86 and PPC. Also, switch the CHECK-DEBIAN-SPARC tests to use debian_multiarch_tree as both sparc and sparc64 are using the MultiArch mechanism on modern Debian systems the same way as x86_64, powerpc64el and others. Thus, switch the CHECK-DEBIAN-SPARC32 and CHECK-DEBIAN-SPARC64 tests to use the files from the debian_multiarch_tree directory for the header and linker path tests. Finally, rename CHECK-DEBIAN-SPARC32 to CHECK-DEBIAN-SPARC to match the naming scheme of the Debian MultiArch checks for the other Debian architectures. Reviewed By: MaskRay, phosek Differential Revision: https://reviews.llvm.org/D90524
Diffstat (limited to 'llvm/lib/Object/XCOFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions