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/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.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/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
b/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
index 6d5645d58..c8e1d9c4e 100644
--- a/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
+++ b/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
@@ -427,7 +427,8 @@ void SymbolFileNativePDB::InitializeObject() {
// load address, GetFileAddress() returns LLDB_INVALID_ADDRESS. Use base
// address 0 in this case to allow symbols to be loaded with RVA
// (Relative Virtual Address). To debug at runtime, the module's actual load
- // address must be provided using 'target modules load --file <module>
--slide <load_address>'.
+ // address must be provided using 'target modules load --file <module>
--slide
+ // <load_address>'.
if (m_obj_load_address == LLDB_INVALID_ADDRESS) {
m_obj_load_address = 0x0;
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/173499
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits