Skip to content

Commit f7be258

Browse files
authored
[BOLT][NFC] Clean up the outdated option --write-dwp in doc (#166150)
Since the "--write-dwp" option has been removed in [PR](#100771), this patch also cleans up the corresponding document and test to avoid misleading issues.
1 parent 97947f1 commit f7be258

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

bolt/docs/CommandLineArgumentReference.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -381,11 +381,6 @@
381381

382382
Set verbosity level for diagnostic output
383383

384-
- `--write-dwp`
385-
386-
Output a single dwarf package file (dwp) instead of multiple non-relocatable
387-
dwarf object files (dwo).
388-
389384
### BOLT optimization options:
390385

391386
- `--align-blocks`

bolt/test/X86/dwarf4-ftypes-dwp-input-dwp-output.test

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# UNSUPPORTED: true
1+
# REQUIRES: system-linux
22
; RUN: rm -rf %t
33
; RUN: mkdir %t
44
; RUN: cd %t
@@ -8,7 +8,8 @@
88
; RUN: llvm-dwp -e main.exe -o main.exe.dwp
99
; RUN: llvm-dwarfdump --show-form --verbose --debug-types main.exe.dwp | FileCheck -check-prefix=PRE-BOLT %s
1010
; RUN: llvm-dwarfdump --show-form --verbose --debug-tu-index main.exe.dwp | FileCheck -check-prefix=PRE-BOLT-DWP-TU-INDEX %s
11-
; RUN: llvm-bolt main.exe -o main.exe.bolt --update-debug-sections --write-dwp
11+
; RUN: llvm-bolt main.exe -o main.exe.bolt --update-debug-sections
12+
; RUN: llvm-dwp -e main.exe.bolt -o main.exe.bolt.dwp
1213
; RUN: llvm-dwarfdump --show-form --verbose --debug-types main.exe.bolt.dwp | FileCheck -check-prefix=BOLT %s
1314
; RUN: llvm-dwarfdump --show-form --verbose --debug-tu-index main.exe.bolt.dwp | FileCheck -check-prefix=BOLT-DWP-TU-INDEX %s
1415

0 commit comments

Comments
 (0)