-
Notifications
You must be signed in to change notification settings - Fork 180
BOLTed bin core loss detail line and function debug info #110
Comments
Are you using |
yes , add -update-debug-sections my cmd: LD_PRELOAD=./libjemalloc.so llvm-bolt -enable-bat=1 bin -o bin.bolt -data perf.fdata -align-macro-fusion=all -reorder-blocks=cache+ -reorder-functions=hfsort+ -split-functions=3 -split-all-cold -split-eh -dyno-stats -icf=1 -update-debug-sections llvm-bolt run info: BOLT-INFO: BOLT version: f137ed238db11440f03083b1c88b7ffc0f4af65e
BOLT-INFO: SCTC: patched 40 tail calls (39 forward) tail calls (1 backward) from a total of 40 while removing 0 double jumps and removing 33 basic blocks totalling 165 bytes of code. CTCs total execution count is 14083289 and the number of times CTCs are taken is 0. |
Are you running the latest (top of the trunk) BOLT? |
yes, git pull the latest code |
This is very unusual. When you run the program under gdb, does it provide you with source info? Does |
gcc 8.2 gdb info: |
Can you repro with a small program on your system using the same environment? |
Does gdb output contain a line with |
yes bot trans has warning BOLT-WARNING: high_pc expected immediately after low_pc. Cannot update DIE at offset 0x3bd5c524 |
It will be helpful to know if you can repro with a small program in your environment. |
BOLTed bin core, loss detail core line info
(gdb) bt
#0 0x00007f921d1d5d0d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#1 0x00007f921d1ff9d4 in usleep (useconds=) at ../sysdeps/unix/sysv/linux/usleep.c:32
#2 0x0000000002578bd7 in ?? ()
#3 0x00000000023f495a in PutPidFileIfNeeded() ()
#4 0x0000000000d91263 in main ()
but Orign bin core, has full line and function info
#0 0x00007f921d1d5d0d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#1 0x00007f921d1ff9d4 in usleep (useconds=) at ../sysdeps/unix/sysv/linux/usleep.c:32
#2 0x0000000002578bd7 in get_or_new_task_control () at xxxx.cpp:91
#3 timer_add (id=0x7ffe9bd06260, abstime=..., on_timer=0x7ffe9bd06258, arg=0x7ffe9bd06380) at xxxx/thread.cpp:350
#4 0x00000000023f495a in ExpandPath (path=...) at xxx/server.cpp:1618
#5 PutPidFileIfNeeded (this=0x408be28 GlobalInitializer::init()::log_plugin) at xxx/server.cpp:1627
#6 0x0000000000d91263 in main (argc=, argv=) at xxx/main.cpp:72
The text was updated successfully, but these errors were encountered: