diff options
author | Dean Michael Berris <dberris@google.com> | 2017-02-18 02:09:51 +0000 |
---|---|---|
committer | Dean Michael Berris <dberris@google.com> | 2017-02-18 02:09:51 +0000 |
commit | cb4a476d3b02a7101d2fdcd56fafd4c38477255e (patch) | |
tree | 75d2433375599a9293a55429362f6c10b9793543 /lib/profile/InstrProfilingFile.c | |
parent | e1e89fcf5087b93bc1ef62fb11d573cf2193ee93 (diff) |
[XRay][compiler-rt] Allow for defining defaults at compile-time
Summary:
Currently, defaulted options cannot be overriden easily. As an example,
we always patch the binary pre-main unless the user defines the option
at the commandline to inhibit this behaviour. This change allows for
building different versions of the XRay archive with different defaults
(whether to patch pre-main, or whether to use FDR mode by default, etc.)
and giving that choice at link-time.
For now we don't create different archives that have different defaults,
but those could be added in later revisions. This change just enables
the possibility.
Reviewers: pelikan, kcc
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D30022
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@295534 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/profile/InstrProfilingFile.c')
0 files changed, 0 insertions, 0 deletions