[all-commits] [llvm/llvm-project] a22a22: [DWARF] Fix handling of .debug_aranges with -g1
Alexander Yermolovich via All-commits
all-commits at lists.llvm.org
Tue Jan 31 14:14:06 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a22a22a73c8ac5d4976d923afd60e7a1cf7346da
https://github.com/llvm/llvm-project/commit/a22a22a73c8ac5d4976d923afd60e7a1cf7346da
Author: Alex Yermolovich <ayermolo at fb.com>
Date: 2023-01-31 (Tue, 31 Jan 2023)
Changed paths:
M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
A llvm/test/DebugInfo/X86/dwarf-aranges-g1.ll
Log Message:
-----------
[DWARF] Fix handling of .debug_aranges with -g1
Old behavior was to add to .debug_aranges only when we create a DIE. As the
result we could end up in situation where DW_AT_ranges have addresses that are
not in .debug_aranges. This has caused issues for LLDB: D136395.
Changed it to add addresses to .debug_aranges even when DIE is not created.
Reviewed By: dblaikie
Differential Revision: https://reviews.llvm.org/D137139
More information about the All-commits
mailing list