microsoft / spoor

Compiler-instrumented app tracing.
https://www.spoor.dev
Other
52 stars 6 forks source link

Disable Swift Driver integration in example app #286

Open brentleyjones opened 5 months ago

brentleyjones commented 5 months ago

This is needed for our swift wrapper to be called correctly.

brentleyjones commented 5 months ago

Maybe there is a way to enforce the same thing in our swiftc wrapper, but I don't know what it is.

brentleyjones commented 5 months ago

The swift wrapper in the .xctoolchain is never called, it uses the one that is compiled into Xcode. This means that never generate the instrumented bitcode and compile it.