[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:33:11 PST 2025
https://github.com/Jinjie-Huang updated https://github.com/llvm/llvm-project/pull/166150
>From d8529bf402da749e1250a7566901ed883e1854a6 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 43ceceee7de45..7c6e01d669b74 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 a645886a2a185307bfb521900e2e83205b21ac3b Mon Sep 17 00:00:00 2001
From: huangjinjie <huangjinjie at bytedance.com>
Date: Mon, 3 Nov 2025 20:29:48 +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..a08e352d605fe 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.bolt -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