[PATCH] D106246: [sanitizer] Place module_ctor/module_dtor in llvm.used
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 19 11:40:14 PDT 2021
vitalybuka added inline comments.
================
Comment at: llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp:387
CtorFunc->setLinkage(GlobalValue::WeakODRLinkage);
- appendToUsed(M, CtorFunc);
}
----------------
why we don't need this one?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106246/new/
https://reviews.llvm.org/D106246
More information about the llvm-commits
mailing list