Index: include/llvm/LTO/LTO.h =================================================================== --- include/llvm/LTO/LTO.h +++ include/llvm/LTO/LTO.h @@ -157,6 +157,9 @@ bool canBeOmittedFromSymbolTable() const { return isGV() && llvm::canBeOmittedFromSymbolTable(getGV()); } + bool hasDLLExportStorageClass() const { + return isGV() && getGV()->hasDLLExportStorageClass(); + } bool isTLS() const { // FIXME: Expose a thread-local flag for module asm symbols. return isGV() && getGV()->isThreadLocal();