[all-commits] [llvm/llvm-project] 95bb95: [LLD][ELF] Fix compressed-debug-level test on SystemZ
Ulrich Weigand via All-commits
all-commits at lists.llvm.org
Fri May 5 05:00:03 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 95bb95ebe44882854aeb47f8b3a6a38e775d8232
https://github.com/llvm/llvm-project/commit/95bb95ebe44882854aeb47f8b3a6a38e775d8232
Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M lld/test/ELF/lit.local.cfg
M lld/test/lit.site.cfg.py.in
Log Message:
-----------
[LLD][ELF] Fix compressed-debug-level test on SystemZ
The libz compression library on SystemZ by default makes use of the
platform's hardware-accelerated compression facility. This is much
faster than the regular software implementation, but often results in
slightly different outputs. This causes failures with the
compressed-debug-level test case.
To fix this, set the DFLTCC environment variable to zero while running
tests on SystemZ, which prevents use of hardware compression and falls
back to the software implementation.
Reviewed by: MaskRay
Differential Revision: https://reviews.llvm.org/D149273
More information about the All-commits
mailing list