[llvm] [BOLT][NFC] Clean up the outdated option --write-dwp in doc (PR #166150)
Jinjie Huang via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 3 04:15:18 PST 2025
https://github.com/Jinjie-Huang updated https://github.com/llvm/llvm-project/pull/166150
>From 55617a8729112849c9b12a140f6fb7414dfb1119 Mon Sep 17 00:00:00 2001
From: huangjinjie <huangjinjie at bytedance.com>
Date: Mon, 3 Nov 2025 19:02:22 +0800
Subject: [PATCH 1/2] clean up --write-dwp in docs
---
bolt/docs/CommandLineArgumentReference.md | 5 -----
1 file changed, 5 deletions(-)
diff --git a/bolt/docs/CommandLineArgumentReference.md b/bolt/docs/CommandLineArgumentReference.md
index d65cf39e16b29..636db823a2da2 100644
--- a/bolt/docs/CommandLineArgumentReference.md
+++ b/bolt/docs/CommandLineArgumentReference.md
@@ -381,11 +381,6 @@
Set verbosity level for diagnostic output
-- `--write-dwp`
-
- Output a single dwarf package file (dwp) instead of multiple non-relocatable
- dwarf object files (dwo).
-
### BOLT optimization options:
- `--align-blocks`
>From 7f5fc034143dd34e8c24c5506b10650b13b16c27 Mon Sep 17 00:00:00 2001
From: huangjinjie <huangjinjie at bytedance.com>
Date: Mon, 3 Nov 2025 20:15:02 +0800
Subject: [PATCH 2/2] remove the outdated usage in test
---
bolt/test/X86/dwarf4-ftypes-dwp-input-dwp-output.test | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/bolt/test/X86/dwarf4-ftypes-dwp-input-dwp-output.test b/bolt/test/X86/dwarf4-ftypes-dwp-input-dwp-output.test
index 673e86bb1533a..9df165f6f6415 100644
--- a/bolt/test/X86/dwarf4-ftypes-dwp-input-dwp-output.test
+++ b/bolt/test/X86/dwarf4-ftypes-dwp-input-dwp-output.test
@@ -1,4 +1,4 @@
-# UNSUPPORTED: true
+# REQUIRES: system-linux
; RUN: rm -rf %t
; RUN: mkdir %t
; RUN: cd %t
@@ -8,7 +8,8 @@
; RUN: llvm-dwp -e main.exe -o main.exe.dwp
; RUN: llvm-dwarfdump --show-form --verbose --debug-types main.exe.dwp | FileCheck -check-prefix=PRE-BOLT %s
; RUN: llvm-dwarfdump --show-form --verbose --debug-tu-index main.exe.dwp | FileCheck -check-prefix=PRE-BOLT-DWP-TU-INDEX %s
-; RUN: llvm-bolt main.exe -o main.exe.bolt --update-debug-sections --write-dwp
+; RUN: llvm-bolt main.exe -o main.exe.bolt --update-debug-sections
+; RUN: llvm-dwp -e main.exe -o main.exe.bolt.dwp
; RUN: llvm-dwarfdump --show-form --verbose --debug-types main.exe.bolt.dwp | FileCheck -check-prefix=BOLT %s
; RUN: llvm-dwarfdump --show-form --verbose --debug-tu-index main.exe.bolt.dwp | FileCheck -check-prefix=BOLT-DWP-TU-INDEX %s
More information about the llvm-commits
mailing list