[compiler-rt] [compiler-rt][profile] Add support for LLVM profile for Haiku (PR #107575)

via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 6 05:55:13 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 eaea4d15acd4cab92e6287d692d2652066c3368a...736e4589c2dfc059d5e08f40dec8aa2362c260a7 compiler-rt/test/builtins/Unit/lit.cfg.py compiler-rt/test/lit.common.cfg.py compiler-rt/test/profile/lit.cfg.py
``````````

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- builtins/Unit/lit.cfg.py	2024-09-02 14:30:19.000000 +0000
+++ builtins/Unit/lit.cfg.py	2024-09-06 12:54:45.699722 +0000
@@ -124,11 +124,13 @@
     config.substitutions.append(("%crt1", get_library_path("crt1.o")))
     config.substitutions.append(("%crti", get_library_path("crti.o")))
     config.substitutions.append(("%crtn", get_library_path("crtn.o")))
 
     config.substitutions.append(("%libgcc", get_libgcc_file_name()))
-    config.substitutions.append(("%libc", "-lroot" if sys.platform.startswith("haiku") else "-lc"))
+    config.substitutions.append(
+        ("%libc", "-lroot" if sys.platform.startswith("haiku") else "-lc")
+    )
 
     config.substitutions.append(
         ("%libstdcxx", "-l" + config.sanitizer_cxx_lib.lstrip("lib"))
     )
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/107575


More information about the llvm-commits mailing list