Add build config and docs for generating Windows link order files
There are three pieces to this puzzle: 1) Passing the -finstrument-functions-after-inlining flag to all compiler invocations. 2) Implementing the __cyg_profile_func_enter function. 3) Making all .exe and .dll targets link in the library that provides that function. This patch implements those three, losely modeled on how the Android build works, and adds documentation on how to use this to update the order files. Bug: 728324 Change-Id: I778bc8c0c2800244b8f18037197d62223ef92203 Reviewed-on: https://chromium-review.googlesource.com/783830 Commit-Queue: Hans Wennborg <hans@chromium.org> Reviewed-by:Brett Wilson <brettw@chromium.org> Reviewed-by:
Reid Kleckner <rnk@chromium.org> Cr-Commit-Position: refs/heads/master@{#519429}
Showing
docs/win_order_files.md
0 → 100644
tools/cygprofile_win/OWNERS
0 → 100644
Please register or sign in to comment