aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/StringRef.cpp
diff options
context:
space:
mode:
authorWanyi <kusmour@gmail.com>2024-02-01 00:34:03 -0500
committerGitHub <noreply@github.com>2024-02-01 00:34:03 -0500
commit5a8f290ded52c218510369f3a7ae66bee1cac99f (patch)
treeffbd7034e5aa584151c9bae8f95a8bf997c698af /llvm/lib/Support/StringRef.cpp
parent995d21bc6ff2220b2887cf9640d936eb99b3c617 (diff)
downloadllvm-5a8f290ded52c218510369f3a7ae66bee1cac99f.zip
llvm-5a8f290ded52c218510369f3a7ae66bee1cac99f.tar.gz
llvm-5a8f290ded52c218510369f3a7ae66bee1cac99f.tar.bz2
[llvm-gsymutil] Print one-time DWO file missing warning under --quiet flag (#79882)
FileCheck test added ``` ./bin/llvm-lit -sv llvm/test/tools/llvm-gsymutil/X86/elf-dwo.yaml ``` Manual test steps: - Create binary with split-dwarf: ``` clang++ -g -gdwarf-4 -gsplit-dwarf main.cpp -o main_split ``` - Remove or remane the dwo file to a different name so llvm-gsymutil can't find it ``` mv main_split-main.dwo main_split-main__.dwo ``` - Now run llvm-gsymutil conversion, it should print out warning with and without the `--quiet` flag ``` $ ./bin/llvm-gsymutil --convert=./main_split Input file: ./main_split Output file (x86_64): ./main_split.gsym warning: Unable to retrieve DWO .debug_info section for main_split-main.dwo Loaded 0 functions from DWARF. Loaded 12 functions from symbol table. Pruned 0 functions, ended with 12 total ``` ``` $ ./bin/llvm-gsymutil --convert=./main_split --quiet Input file: ./main_split Output file (x86_64): ./main_split.gsym warning: Unable to retrieve DWO .debug_info section for some object files. (Remove the --quiet flag for full output) Pruned 0 functions, ended with 12 total ```
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions