[llvm] [DebugInfo][RemoveDIs] Convert debug-info modes when loading bitcode (PR #78967)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 22 05:03:00 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 f270b4346ff726c94ae1002b13114ef201d14c40 -- llvm/lib/Bitcode/Reader/BitcodeReader.cpp llvm/lib/IR/LegacyPassManager.cpp llvm/lib/Linker/IRMover.cpp llvm/lib/Transforms/Utils/ValueMapper.cpp llvm/tools/llvm-link/llvm-link.cpp llvm/tools/llvm-lto/llvm-lto.cpp llvm/tools/llvm-lto2/llvm-lto2.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/tools/llvm-link/llvm-link.cpp b/llvm/tools/llvm-link/llvm-link.cpp
index a63ccb42e6..d50e0678f4 100644
--- a/llvm/tools/llvm-link/llvm-link.cpp
+++ b/llvm/tools/llvm-link/llvm-link.cpp
@@ -130,9 +130,9 @@ static cl::opt<bool> IgnoreNonBitcode(
cl::Hidden);
static cl::opt<bool> TryUseNewDbgInfoFormat(
- "try-experimental-debuginfo-iterators",
- cl::desc("Enable debuginfo iterator positions, if they're built in"),
- cl::init(false));
+ "try-experimental-debuginfo-iterators",
+ cl::desc("Enable debuginfo iterator positions, if they're built in"),
+ cl::init(false));
extern cl::opt<bool> UseNewDbgInfoFormat;
diff --git a/llvm/tools/llvm-lto/llvm-lto.cpp b/llvm/tools/llvm-lto/llvm-lto.cpp
index 5bec24c8c8..f272814382 100644
--- a/llvm/tools/llvm-lto/llvm-lto.cpp
+++ b/llvm/tools/llvm-lto/llvm-lto.cpp
@@ -265,9 +265,9 @@ static cl::opt<bool>
cl::desc("Save the IR before running optimizations"));
static cl::opt<bool> TryUseNewDbgInfoFormat(
- "try-experimental-debuginfo-iterators",
- cl::desc("Enable debuginfo iterator positions, if they're built in"),
- cl::init(false), cl::Hidden);
+ "try-experimental-debuginfo-iterators",
+ cl::desc("Enable debuginfo iterator positions, if they're built in"),
+ cl::init(false), cl::Hidden);
extern cl::opt<bool> UseNewDbgInfoFormat;
diff --git a/llvm/tools/llvm-lto2/llvm-lto2.cpp b/llvm/tools/llvm-lto2/llvm-lto2.cpp
index 3301fb87b2..c212374a0e 100644
--- a/llvm/tools/llvm-lto2/llvm-lto2.cpp
+++ b/llvm/tools/llvm-lto2/llvm-lto2.cpp
@@ -188,9 +188,9 @@ static cl::opt<bool> EnableFreestanding(
cl::Hidden);
static cl::opt<bool> TryUseNewDbgInfoFormat(
- "try-experimental-debuginfo-iterators",
- cl::desc("Enable debuginfo iterator positions, if they're built in"),
- cl::init(false), cl::Hidden);
+ "try-experimental-debuginfo-iterators",
+ cl::desc("Enable debuginfo iterator positions, if they're built in"),
+ cl::init(false), cl::Hidden);
extern cl::opt<bool> UseNewDbgInfoFormat;
``````````
</details>
https://github.com/llvm/llvm-project/pull/78967
More information about the llvm-commits
mailing list