Stream: t-compiler

Topic: #53532: -Zdump-mir does not dump drop shims

RalfJ (Nov 17 2018 at 16:02, on Zulip):

Can someone give me a pointer for how to start fixing Seems like when -Zdump-mir iterates over all the things to dump them, it should also iterate over the generated drop shims, somehow.

oli (Nov 17 2018 at 16:07, on Zulip):

I'd guess we're not running any passes on shims and thus they don't get their mir dumped, either

oli (Nov 17 2018 at 16:11, on Zulip):

So... instance_mir calls make_shim (transitively), which does run a few passes, but it runs them manually instead of via the regular run_passes scheme

Last update: Nov 22 2019 at 04:40UTC