================
@@ -1266,3 +1303,467 @@ void
ModuleSanitizerCoverage::createFunctionControlFlow(Function &F) {
ConstantArray::get(ArrayType::get(PtrTy, CFs.size()), CFs));
FunctionCFsArray->setConstant(true);
}
+
+// Helper: Given a DIType, resolve typedefs/qualifiers to the underlying type.
+static DIType *stripDITypedefs(DIType *Ty) {
----------------
nickdesaulniers wrote:
Same comment; for a PR tagged `[Clang]`, this is an awful lot added to llvm/.
Should this be factored out of this PR, too?
https://github.com/llvm/llvm-project/pull/218254
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits