diff options
author | Pirama Arumuga Nainar <pirama@google.com> | 2020-09-21 22:04:25 -0700 |
---|---|---|
committer | Pirama Arumuga Nainar <pirama@google.com> | 2020-09-22 11:49:25 -0700 |
commit | 1150fd7c6884df006cdf48a965707955472d25ed (patch) | |
tree | 96c3b4ccfd099f2b274975e320157f3d21f443b1 /python/binary.go | |
parent | ca4536fc26a7b03e239930ea6b3fa1e125f80406 (diff) |
Propagate PGO instr. flags to dependencies of a static lib
Bug: http://b/119560349
Bug: http://b/168925229
To build with PGO instrumentation, the link step also needs
-fprofile-generate flag. Omitting this will result in a linker error.
This surfaces if module A depends on module B but PGO is used only for
module B.
Previous uses of PGO were avoiding or working around the issue but to
accommadate recent changes, this CL propagates the PGO linker flag to
module A.
Test: pgo-coral-config1 in release branch, TH
Change-Id: I12f6243152d4f5ea5526fbce03c25dba232ddab7
Diffstat (limited to 'python/binary.go')
0 files changed, 0 insertions, 0 deletions