Skip to content

Commit 77af527

Browse files
committed
Update our debug patch for latest trunk
1 parent 9fe5cda commit 77af527

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

build/patches/ce-debug-clang-trunk.patch

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
commit 445c6dd4845daf2fbc5e8e8b9bac6a39cd90a470
2-
Author: partouf <partouf@gmail.com>
3-
Date: Sat Dec 10 14:07:08 2022 +0100
1+
commit 4176676a47461bb5176ec066b5b1b8d08b60b7f7
2+
Author: Matt Godbolt <matt@godbolt.org>
3+
Date: Mon Aug 4 08:51:48 2025 -0500
44

55
change dbgs() in case of --debug-to-stdout
66

77
diff --git a/llvm/lib/Support/Debug.cpp b/llvm/lib/Support/Debug.cpp
8-
index 98a9ac4722b5..a04aabe67627 100644
8+
index b6f338f903a9..b2e23b2e076b 100644
99
--- a/llvm/lib/Support/Debug.cpp
1010
+++ b/llvm/lib/Support/Debug.cpp
11-
@@ -78,6 +78,11 @@ void setCurrentDebugTypes(const char **Types, unsigned Count) {
12-
}
11+
@@ -117,6 +117,11 @@ void setCurrentDebugTypes(const char **Types, unsigned Count) {
12+
1313
} // namespace llvm
1414

1515
+cl::opt<bool> LogDebugToStdOut(
@@ -20,7 +20,7 @@ index 98a9ac4722b5..a04aabe67627 100644
2020
// All Debug.h functionality is a no-op in NDEBUG mode.
2121
#ifndef NDEBUG
2222

23-
@@ -161,23 +166,27 @@ static void debug_user_sig_handler(void *Cookie) {
23+
@@ -205,23 +210,27 @@ static void debug_user_sig_handler(void *Cookie) {
2424

2525
/// dbgs - Return a circular-buffered debug stream.
2626
raw_ostream &llvm::dbgs() {
@@ -65,7 +65,7 @@ index 98a9ac4722b5..a04aabe67627 100644
6565
}
6666

6767
#else
68-
@@ -185,7 +194,11 @@ raw_ostream &llvm::dbgs() {
68+
@@ -229,7 +238,11 @@ raw_ostream &llvm::dbgs() {
6969
namespace llvm {
7070
/// dbgs - Return errs().
7171
raw_ostream &dbgs() {

0 commit comments

Comments
 (0)