[compiler-rt] Pass the linker version to libfuzzer tests on darwin (PR #87719)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 4 15:04:17 PDT 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
darker --check --diff -r aa6ba23235b4418d528fe8df4d1cd6d2ad50ceb2...e9a6b273846ea4b6e63a8ccc791900990ac1f926 compiler-rt/test/fuzzer/lit.cfg.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- lit.cfg.py 2024-04-04 21:59:07.000000 +0000
+++ lit.cfg.py 2024-04-04 22:03:54.966410 +0000
@@ -96,11 +96,13 @@
# Avoids linker error:
# /failifmismatch: mismatch detected for 'annotate_string'
if "windows" in config.available_features:
extra_cmd = extra_cmd + " -D_DISABLE_VECTOR_ANNOTATION -D_DISABLE_STRING_ANNOTATION"
- if "darwin" in config.available_features and getattr(config, "darwin_linker_version", None):
+ if "darwin" in config.available_features and getattr(
+ config, "darwin_linker_version", None
+ ):
extra_cmd = extra_cmd + " -mlinker-version=" + config.darwin_linker_version
return " ".join(
[
compiler_cmd,
``````````
</details>
https://github.com/llvm/llvm-project/pull/87719
More information about the llvm-commits
mailing list