[llvm-dev] Interleaved debug info on arm

Carlo Kok via llvm-dev llvm-dev at lists.llvm.org
Mon Sep 18 22:02:10 PDT 2017


September 19, 2017 3:02 AM, "Rui Ueyama"  wrote:
 Does this happen only when you are using lld? Please try gold to see if it works as you expected. 
Yes this only happens when using lld (I'm on aug1's head)

If I compile with lld with bitcode as input:
-O0 --lto-O0
--eh-frame-hdr --dynamic-linker "/lib/ld-linux-armhf.so.3"
0x0000000000059578 15 0 1 0 0 is_stmt
0x0000000000059588 22 11 1 0 0 is_stmt prologue_end
0x000000000005958c 21 11 1 0 0 is_stmt
0x00000000000595a0 15 5 1 0 0 is_stmt
0x00000000000595a4 22 11 1 0 0 is_stmt
0x00000000000595b4 25 7 1 0 0 is_stmt
0x00000000000595b8 22 11 1 0 0 is_stmt
0x00000000000595bc 25 7 1 0 0 is_stmt
0x00000000000595c4 26 7 1 0 0 is_stmt
0x00000000000595dc 27 7 1 0 0 is_stmt
0x00000000000595f0 30 5 1 0 0 is_stmt
If I precompile the bitcode with llc -O0 -filetype=obj
-O0 --lto-O0
--eh-frame-hdr --dynamic-linker "/lib/ld-linux-armhf.so.3"
0x00000000000401ac 15 0 1 0 0 is_stmt
0x00000000000401c4 15 5 1 0 0 is_stmt prologue_end
0x00000000000401d0 21 11 1 0 0 is_stmt
0x00000000000401e0 22 11 1 0 0 is_stmt
0x00000000000401fc 25 7 1 0 0 is_stmt
0x0000000000040204 26 7 1 0 0 is_stmt
0x0000000000040234 27 7 1 0 0 is_stmt
0x0000000000040250 30 5 1 0 0 is_stmt
Carlo Kok
RemObjects Software
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170919/6a91125d/attachment.html>


More information about the llvm-dev mailing list