mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 20:23:59 +00:00
Use DW_FORM_addr for DW_AT_entry_pc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107085 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -1792,7 +1792,7 @@ void DwarfDebug::constructCompileUnit(const MDNode *N) {
|
||||
addString(Die, dwarf::DW_AT_name, dwarf::DW_FORM_string, FN);
|
||||
// Use DW_AT_entry_pc instead of DW_AT_low_pc/DW_AT_high_pc pair. This
|
||||
// simplifies debug range entries.
|
||||
addUInt(Die, dwarf::DW_AT_entry_pc, dwarf::DW_FORM_data4, 0);
|
||||
addUInt(Die, dwarf::DW_AT_entry_pc, dwarf::DW_FORM_addr, 0);
|
||||
// DW_AT_stmt_list is a offset of line number information for this
|
||||
// compile unit in debug_line section. It is always zero when only one
|
||||
// compile unit is emitted in one object file.
|
||||
|
Reference in New Issue
Block a user