diff options
| author | Jinjie Huang <huangjinjie@bytedance.com> | 2025-11-04 18:27:53 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-04 18:27:53 +0800 |
| commit | f7be258c28939b25f5f9ec07174ace0d81ca3eea (patch) | |
| tree | 1c3ca5876c77aef4608bb3a5095121db0f2bfe7c /bolt | |
| parent | 97947f150f55727c5ae0998218260561e28b946e (diff) | |
[BOLT][NFC] Clean up the outdated option --write-dwp in doc (#166150)
Since the "--write-dwp" option has been removed in
[PR](https://github.com/llvm/llvm-project/pull/100771), this patch also
cleans up the corresponding document and test to avoid misleading
issues.
Diffstat (limited to 'bolt')
| -rw-r--r-- | bolt/docs/CommandLineArgumentReference.md | 5 | ||||
| -rw-r--r-- | bolt/test/X86/dwarf4-ftypes-dwp-input-dwp-output.test | 5 |
2 files changed, 3 insertions, 7 deletions
diff --git a/bolt/docs/CommandLineArgumentReference.md b/bolt/docs/CommandLineArgumentReference.md index 43ceceee7de4..7c6e01d669b7 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` 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 673e86bb1533..a08e352d605f 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 |
