This doesn't work for me.
I've tried with both frecord-sources and the flat equivalent, and the older -MO flag as well.
With both the latest beta & release versions of the metal developer tools and with latest xcode release 13.2.1
When loading it into xcode frame debugger, it shows "No source" and if I look at the filepath of the lib it shows the path on windows. Could that be the reason ? I assume the source should be embedded and it shouldn't care about the filepath of the original metal file.
Thanks