[DebugInfo][test] Change two MIR tests to use (details)
[XRay] Set hasSideEffects flag of PATCHABLE_FUNCTION_{ENTER,EXIT} (details)
[CodeGen] Move fentry-insert, xray-instrumentation and (details)
Commit
26ba1f77b55e7a961acc05d94bfa4b677a9e5d83
by maskray
[DebugInfo][test] Change two MIR tests to use -start-before=livedebugvalues instead of -start-after=patchable-function To break order dependency between livedebugvalues and patchable-function.
Commit
a72d15e37c5e066f597f13a8ba60aff214ac992d
by maskray
[XRay] Set hasSideEffects flag of PATCHABLE_FUNCTION_{ENTER,EXIT} Otherwise they may be picked as the delay slot by mips-delay-slot-filler, if we move patchable-function before mips-delay-slot-filler.
Commit
9a24488cb67a90f889529987275c5e411ce01dda
by maskray
[CodeGen] Move fentry-insert, xray-instrumentation and patchable-function before addPreEmitPass() This intention is to move patchable-function before aarch64-branch-targets (configured in AArch64PassConfig::addPreEmitPass) so that we emit BTI before NOPs (see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92424). This also allows addPreEmitPass() passes to know the precise instruction sizes if they want. Tried x86-64 Debug/Release builds of ccls with -fxray-instrument -fxray-instruction-threshold=1. No output difference with this commit and the previous commit.