[llvm] [VFABI] Improve VFABI unit tests (PR #73907)

Paschalis Mpeis via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 5 23:33:22 PST 2023


================
@@ -38,7 +38,8 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
       Args.push_back(Constant::getNullValue(ParamTy));
     }
     std::unique_ptr<CallInst> CI(CallInst::Create(F, Args));
-    const auto Info = VFABI::tryDemangleForVFABI(MangledName, *(CI.get()));
+    const auto Info =
+        VFABI::tryDemangleForVFABI(MangledName, CI->getFunctionType());
----------------
paschalis-mpeis wrote:

Addressed in new PR #74569

https://github.com/llvm/llvm-project/pull/73907


More information about the llvm-commits mailing list