[llvm] [DebugInfo][RemoveDIs] Support DPValues in HWAsan (PR #78731)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 19 07:44:08 PST 2024
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 535b197b8e96b816998ad4b4ee45e011fa05fba9 e1213a4b676d308779492f2c676faadc666a44ba -- llvm/include/llvm/Transforms/Utils/MemoryTaggingSupport.h llvm/lib/Target/AArch64/AArch64StackTagging.cpp llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp llvm/lib/Transforms/Utils/MemoryTaggingSupport.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp b/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
index db8c6a39ee..406ad0a345 100644
--- a/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
+++ b/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
@@ -1435,8 +1435,8 @@ bool HWAddressSanitizer::instrumentStack(memtag::StackInfo &SInfo,
retagMask(N)};
for (size_t LocNo = 0; LocNo < DPtr->getNumVariableLocationOps(); ++LocNo)
if (DPtr->getVariableLocationOp(LocNo) == AI)
- DPtr->setExpression(DIExpression::appendOpsToArg(DPtr->getExpression(),
- NewOps, LocNo));
+ DPtr->setExpression(DIExpression::appendOpsToArg(
+ DPtr->getExpression(), NewOps, LocNo));
};
for (auto *DDI : Info.DbgVariableIntrinsics)
``````````
</details>
https://github.com/llvm/llvm-project/pull/78731
More information about the llvm-commits
mailing list