Mercurial > hg > CbC > CbC_llvm
diff clang/lib/CodeGen/CGVTables.h @ 236:c4bab56944e8 llvm-original
LLVM 16
author | kono |
---|---|
date | Wed, 09 Nov 2022 17:45:10 +0900 |
parents | 79ff65ed7e25 |
children | 1f2b6ac9f198 |
line wrap: on
line diff
--- a/clang/lib/CodeGen/CGVTables.h Wed Jul 21 10:27:27 2021 +0900 +++ b/clang/lib/CodeGen/CGVTables.h Wed Nov 09 17:45:10 2022 +0900 @@ -154,6 +154,9 @@ /// when a vtable may not be dso_local. void GenerateRelativeVTableAlias(llvm::GlobalVariable *VTable, llvm::StringRef AliasNameRef); + + /// Specify a global should not be instrumented with hwasan. + void RemoveHwasanMetadata(llvm::GlobalValue *GV) const; }; } // end namespace CodeGen