Closed
Description
debuginfo::block()
uses the provided trans::common::block
for creating lexical block DIEs. trans::common::block
, however, corresponds to LLVM basic blocks and not to rust lexical blocks.
A possible direction towards correcting this could be to look at the scope_info
field in trans::common::block
or to get ahold of the correct ast::blk
somehow.