sivadeilra wrote:

@aganea , I've encountered one problem with this PR.  The pass which creates 
the `__ref_*` variables needs to run before 
`CodeViewDebug::collectGlobalVariableInfo`, but the way we did this in this PR 
breaks several other integration tests.  From looking at the sequence of 
passes, `CodeViewDebug::collectGlobalVariableInfo` runs under 
`AsmPrinter::doInitialization`.

What's the best place to do this `__ref_*` rewrite pass?

https://github.com/llvm/llvm-project/pull/138972
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to