From d0e4119d848bbb8df6a7fa303ad8302a770fbab8 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 28 May 2023 12:11:28 -0700 Subject: [PATCH] [CodeGen] Remove unused declaration getOrCreateRelativeStub The corresponding function definition was removed by: commit cf8ff75bade763b054476321dcb82dcb2e7744c7 Author: Leonard Chan Date: Tue Jul 14 14:56:38 2020 -0700 --- clang/lib/CodeGen/CGVTables.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/clang/lib/CodeGen/CGVTables.h b/clang/lib/CodeGen/CGVTables.h index e7b59d9..9d42235 100644 --- a/clang/lib/CodeGen/CGVTables.h +++ b/clang/lib/CodeGen/CGVTables.h @@ -75,16 +75,6 @@ class CodeGenVTables { bool vtableHasLocalLinkage, bool isCompleteDtor) const; - /// Create a dso_local stub that will be used for a relative reference in the - /// relative vtable layout. This stub will just be a tail call to the original - /// function and propagate any function attributes from the original. If the - /// original function is already dso_local, the original is returned instead - /// and a stub is not created. - llvm::Function * - getOrCreateRelativeStub(llvm::Function *func, - llvm::GlobalValue::LinkageTypes stubLinkage, - bool isCompleteDtor) const; - bool useRelativeLayout() const; llvm::Type *getVTableComponentType() const; -- 2.7.4