[llvm] [lldb] [clang] [BOLT] Extend calculateEmittedSize for Block Size Calculation (PR #73076)

via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 22 08:56:04 PST 2023


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 e07fec10ac208c2868a24c5c0be88e45778b297e..98e1f4c3b15f677e5dbfa85dace75e4c092bb99f cross-project-tests/lit.cfg.py lldb/test/API/lit.cfg.py lldb/test/Shell/helper/toolchain.py
``````````

</details>

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

``````````diff
--- cross-project-tests/lit.cfg.py	2023-11-21 09:11:25.000000 +0000
+++ cross-project-tests/lit.cfg.py	2023-11-22 16:55:56.106328 +0000
@@ -85,11 +85,14 @@
 if not hasattr(config, "clang_src_dir"):
     config.clang_src_dir = ""
 # Facebook T92898286
 should_test_bolt = get_required_attr(config, "llvm_test_bolt")
 if should_test_bolt:
-    llvm_config.use_clang(required=("clang" in config.llvm_enabled_projects), additional_flags=["--post-link-optimize"])
+    llvm_config.use_clang(
+        required=("clang" in config.llvm_enabled_projects),
+        additional_flags=["--post-link-optimize"],
+    )
 else:
     llvm_config.use_clang(required=("clang" in config.llvm_enabled_projects))
 # End Facebook T92898286
 
 if not hasattr(config, "lld_src_dir"):

``````````

</details>


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


More information about the llvm-commits mailing list