[PATCH] D54497: [ELF] --gdb-index: extract entities from .debug_info when .debug_gnu_pubnames is absent
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 13 17:10:04 PST 2018
MaskRay added a comment.
> Is this test case consistent with gold's behavior?
It does. But I think I need to do more work to understand what gold expects (it may have issues with my other multi-cu tests).
% fllvm-mc -filetype=obj gdb-index-debug-info.s -o t.o
% gold --gdb-index t.o -o t.gold
% fld.lld --gdb-index t.o -o t.gold
% diff <(fllvm-dwarfdump -debug-info t.gold) <(fllvm-dwarfdump -debug-info t.lld)
1c1
< t.gold: file format ELF64-x86-64
---
> t.lld: file format ELF64-x86-64
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D54497
More information about the llvm-commits
mailing list