blob: 7b8fe5779d3b1bad7f3ced8dc4a3e39d990708c8 [file] [log] [blame]
# When LTO is enabled, puts will go though GOT directly rather than PLT stubs, similar to -fno-plt.
# There won't be $plt(puts) symbol.
## require is_lto=false
## require optimize=none
[zxdb] break $plt(puts)
Created Breakpoint 1 @ $plt(puts)
[zxdb] run-component fuchsia-pkg://fuchsia.com/zxdb_e2e_inferiors#meta/step_plt.cm
Launched Process 1 state=Running koid=?? name=step_plt.cm component=step_plt.cm
Breakpoint 1 now matching 1 addrs for $plt(puts)
🛑 on bp 1 $plt(puts)
[zxdb] f
â–¶ 0 $plt(puts)
1 main() • step_plt.cc:12