[Lldb-commits] [lldb] [lldb] Get IRExecutionUnit mangling-mode from llvm::Module. (PR #224595)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 18 03:48:31 PDT 2026
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff origin/main HEAD --extensions cpp -- lldb/source/Expression/IRExecutionUnit.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/source/Expression/IRExecutionUnit.cpp b/lldb/source/Expression/IRExecutionUnit.cpp
index a169be22a..bcec26caf 100644
--- a/lldb/source/Expression/IRExecutionUnit.cpp
+++ b/lldb/source/Expression/IRExecutionUnit.cpp
@@ -56,7 +56,8 @@ IRExecutionUnit::IRExecutionUnit(std::unique_ptr<llvm::LLVMContext> &context_up,
m_did_jit(false), m_function_load_addr(LLDB_INVALID_ADDRESS),
m_function_end_load_addr(LLDB_INVALID_ADDRESS),
m_strip_underscore(
- m_module_up ? m_module_up->getDataLayout().getGlobalPrefix() == '_' : false),
+ m_module_up ? m_module_up->getDataLayout().getGlobalPrefix() == '_'
+ : false),
m_reported_allocations(false), m_preferred_modules() {}
lldb::addr_t IRExecutionUnit::WriteNow(const uint8_t *bytes, size_t size,
``````````
</details>
https://github.com/llvm/llvm-project/pull/224595
More information about the lldb-commits
mailing list