@mkretz
Just because some implementation *could* implement this kind of behaviour by using something along the lines of __local_ctx and by taking advantage of prospective #cpp26 features doesn't mean *it is*.
The described behaviour was quite controversial after std::source_location made it into #cpp20 . I can remember the discussions happening in the then-monthly EWG online meetings (COVID!) where the necessity of such unfamiliar properties of source_location::current() was seen vital to meet user expectations: the return value of that function depends on the *current compilation context*. I.e. compilers *must* re-evaluate the apparently pure, obviously dependency-free, immeditate (compiletime-only) function *at every occurance* in a TU where it is - possibly silently - invoked!