mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-03 22:02:51 +01:00
If a function contains instructions whose locations are in another file, skip providing debug locations for those instructions rather than CHECK-failing. This happens when emitting a thunk where the signature is declared in one file and the call target is in another file: some parts of the thunk use the original signature as their locations, whereas other parts of it use the location of the call target.