swift
093d8f1d - [IRGen] Drop Clang profiling instrumentation without -profile-generate

Commit
11 days ago
[IRGen] Drop Clang profiling instrumentation without -profile-generate With -Xcc -fprofile-instr-generate, Clang emitted llvm.instrprof.increment into imported inline functions, but the lowering pass only runs when Swift's own profiling is on, so the backend crashed. Turn off Clang's instrumentation unless -profile-generate is passed, and warn that the option is ignored. rdar://155953909
Author
Gabor Horvath
Committer
Gabor Horvath
Parents
Loading