From e35a5876e4c7f67211dd600a3006bede2ccab25c Mon Sep 17 00:00:00 2001 From: Alexey Bataev Date: Wed, 1 Jul 2020 08:41:14 -0400 Subject: Revert "[StackSafety,NFC] Remove unneded constexpr" This reverts commit 38470baa542bde038340b7d10a0ed2c25fac1bfa because it breaks builds with lld and gold linkers. --- llvm/lib/IR/ModuleSummaryIndex.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/lib/IR/ModuleSummaryIndex.cpp') diff --git a/llvm/lib/IR/ModuleSummaryIndex.cpp b/llvm/lib/IR/ModuleSummaryIndex.cpp index 158369a..91612ea 100644 --- a/llvm/lib/IR/ModuleSummaryIndex.cpp +++ b/llvm/lib/IR/ModuleSummaryIndex.cpp @@ -35,6 +35,8 @@ static cl::opt ImportConstantsWithRefs( "import-constants-with-refs", cl::init(true), cl::Hidden, cl::desc("Import constant global variables with references")); +constexpr uint32_t FunctionSummary::ParamAccess::RangeWidth; + FunctionSummary FunctionSummary::ExternalNode = FunctionSummary::makeDummyFunctionSummary({}); -- cgit v1.1