================
@@ -252,6 +252,13 @@ static bool canUseNocallOptimizedSignature(
return true;
}
+/// Return the BTF name of a type. Released kernels only accept identifiers as
+/// type names, so a C++ template specialization is named without its template
+/// arguments, as with -gsimple-template-names.
+static StringRef getBTFTypeName(StringRef Name) {
----------------
tamird wrote:
Agreed that the qualified-name parser crash predates this patch; it can be
handled in #233947.
https://github.com/llvm/llvm-project/pull/233715
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits