mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
[profile] Support profiling runtime on Fuchsia
This ports the profiling runtime on Fuchsia and enables the instrumentation. Unlike on other platforms, Fuchsia doesn't use files to dump the instrumentation data since on Fuchsia, filesystem may not be accessible to the instrumented process. We instead use the data sink to pass the profiling data to the system the same sanitizer runtimes do. Differential Revision: https://reviews.llvm.org/D47208 llvm-svn: 337881
This commit is contained in:
parent
98919f29c3
commit
80a173a870
@ -691,6 +691,7 @@ static bool needsRuntimeRegistrationOfSectionRange(const Module &M) {
|
||||
// Use linker script magic to get data/cnts/name start/end.
|
||||
if (Triple(M.getTargetTriple()).isOSLinux() ||
|
||||
Triple(M.getTargetTriple()).isOSFreeBSD() ||
|
||||
Triple(M.getTargetTriple()).isOSFuchsia() ||
|
||||
Triple(M.getTargetTriple()).isPS4CPU())
|
||||
return false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user