mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
IRGen: Add the ability to mark certain generic entry points in back traces
Mark generic function calls with concrete parameters, generic v-table calls and generic witness table calls where self is generic.
This commit is contained in:
@@ -3473,6 +3473,10 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
|
||||
Args.hasFlag(OPT_enable_fragile_resilient_protocol_witnesses,
|
||||
OPT_disable_fragile_resilient_protocol_witnesses,
|
||||
Opts.UseFragileResilientProtocolWitnesses);
|
||||
Opts.UseProfilingMarkerThunks =
|
||||
Args.hasFlag(OPT_enable_profiling_marker_thunks,
|
||||
OPT_disable_profiling_marker_thunks,
|
||||
Opts.UseProfilingMarkerThunks);
|
||||
Opts.EmitYieldOnce2AsYieldOnce =
|
||||
!LangOpts.hasFeature(Feature::CoroutineAccessorsAllocateInCallee);
|
||||
Opts.EnableHotColdSplit =
|
||||
|
||||
Reference in New Issue
Block a user