| # 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 |