[all-commits] [llvm/llvm-project] a6c840: [CLANG][DWARF] Do not emit -ggnu-pubnames for LLDB...
Alexander Yermolovich via All-commits
all-commits at lists.llvm.org
Wed Mar 6 11:24:57 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a6c84079f69f13d745aaaa4595cf8804b119a6c4
https://github.com/llvm/llvm-project/commit/a6c84079f69f13d745aaaa4595cf8804b119a6c4
Author: Alexander Yermolovich <43973793+ayermolo at users.noreply.github.com>
Date: 2024-03-06 (Wed, 06 Mar 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/Driver/split-debug.c
Log Message:
-----------
[CLANG][DWARF] Do not emit -ggnu-pubnames for LLDB tuning, unless -ggnu-pubnames is specified. (#83331)
When -gsplit-dwarf is passed in clang emmmits -ggnu-pubnames which
results in
.debug_gnu_pubnames/..debug_gnu_pubtypes being generated.
This is used by GDB, but not by LLDB.
Changed so that these sections are not emitted for LLDB tuning, unless
flag
is passed explicitly.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list