This is an extract from D60067. It addresses two differences in the output of llvm-symbolizer and GNU's addr2line:
- llvm-symbolizer prints an empty line after the report of each address.
- With "-f -i=0", llvm-symbolizer replaces the name of an inlined function with the name from the symbol table, i. e., the top caller function in the inlining chain. addr2line preserves the name of the inlined function.
This test is getting too big to follow. I wonder if it would be better to add llvm-symbolizer --output-style=GNU/LLVM cases to the existing tests for -i/-p?