summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGCXXABI.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2018-03-01 00:35:47 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2018-03-01 00:35:47 +0000
commitb735004615be10ffa60dd3d4b0a060f0bed2f8de (patch)
treed6852673e5d3a3fd1725c62a640e6b5d63f5d458 /clang/lib/CodeGen/CGCXXABI.h
parent2b94972eb981090e0289ba56edd22b311e9fd6f7 (diff)
downloadbcm5719-llvm-b735004615be10ffa60dd3d4b0a060f0bed2f8de.tar.gz
bcm5719-llvm-b735004615be10ffa60dd3d4b0a060f0bed2f8de.zip
Start setting dllimport/dllexport in setGVProperties.
This is the next step in setting dso_local for COFF. The patches changes setGVProperties to first set dllimport/dllexport and changes a few cases that were setting dllimport/dllexport manually. With this a few more GVs are marked dso_local. llvm-svn: 326397
Diffstat (limited to 'clang/lib/CodeGen/CGCXXABI.h')
-rw-r--r--clang/lib/CodeGen/CGCXXABI.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGCXXABI.h b/clang/lib/CodeGen/CGCXXABI.h
index 2262360d868..65a4c3d072e 100644
--- a/clang/lib/CodeGen/CGCXXABI.h
+++ b/clang/lib/CodeGen/CGCXXABI.h
@@ -433,6 +433,7 @@ public:
/// base tables.
virtual void emitVirtualInheritanceTables(const CXXRecordDecl *RD) = 0;
+ virtual bool exportThunk() = 0;
virtual void setThunkLinkage(llvm::Function *Thunk, bool ForVTable,
GlobalDecl GD, bool ReturnAdjustment) = 0;
OpenPOWER on IntegriCloud