diff options
author | Dean Michael Berris <dberris@google.com> | 2017-11-28 11:49:22 +0000 |
---|---|---|
committer | Dean Michael Berris <dberris@google.com> | 2017-11-28 11:49:22 +0000 |
commit | 542485f29ce22ac0beed33b57bf51662f7d0e877 (patch) | |
tree | 7c26904105344cce518f4e18989d16813697bb3c /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | c34f789e38bd743ba5ab1409d8d454eb70f1ffc7 (diff) | |
download | bcm5719-llvm-542485f29ce22ac0beed33b57bf51662f7d0e877.tar.gz bcm5719-llvm-542485f29ce22ac0beed33b57bf51662f7d0e877.zip |
[XRay][compiler-rt][Darwin] Minimal XRay build support in Darwin
This change is the first in a series of changes to get the XRay runtime
building on macOS. This first allows us to build the minimal parts of
XRay to get us started on supporting macOS development. These include:
- CMake changes to allow targeting x86_64 initially.
- Allowing for building the initialisation routines without
`.preinit_array` support.
- Use __sanitizer::SleepForMillis() to work around the lack of
clock_nanosleep on macOS.
- Deprecate the xray_fdr_log_grace_period_us flag, and introduce
the xray_fdr_log_grace_period_ms flag instead, to use
milliseconds across platforms.
Reviewers: kubamracek
Subscribers: llvm-commits, krytarowski, nglevin, mgorny
Differential Review: https://reviews.llvm.org/D39114
llvm-svn: 319165
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions