[clang] [llvm] Add support for Windows Secure Hot-Patching (PR #138972)
via cfe-commits
cfe-commits at lists.llvm.org
Sun May 18 14:04:13 PDT 2025
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
More information about the cfe-commits
mailing list