================ @@ -134,19 +134,29 @@ static void resolveTopLevelMetadata(llvm::Function *Fn, // Find all llvm.dbg.declare intrinsics and resolve the DILocalVariable nodes // they are referencing. + // + // Some types may be still unresolved. As they can't be cloned, keep + // references to the types from the base subprogram. + // FIXME: As a result, variables of cloned subprogram may refer to local types + // from base subprogram. In such case, type locality information is damaged. ---------------- dwblaikie wrote:
FIXME is a bit unclear about what should be fixed, and explains more about the problem? Perhaps the explanation should go above, and the FIXME should be more specific about what should be fixed? https://github.com/llvm/llvm-project/pull/165032 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
