From f5deb6bf3901ff34be845e44c9ae678cbc2e3cdf Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Sat, 10 Dec 2022 19:49:44 +0000 Subject: [PATCH] [gold] Fix build --- llvm/tools/gold/gold-plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/tools/gold/gold-plugin.cpp b/llvm/tools/gold/gold-plugin.cpp index a4fda26..660f51c 100644 --- a/llvm/tools/gold/gold-plugin.cpp +++ b/llvm/tools/gold/gold-plugin.cpp @@ -121,7 +121,7 @@ static ld_plugin_set_extra_library_path set_extra_library_path = nullptr; static ld_plugin_get_view get_view = nullptr; static bool IsExecutable = false; static bool SplitSections = true; -static std::optional RelocationModel = None; +static std::optional RelocationModel; static std::string output_name = ""; static std::list Modules; static DenseMap FDToLeaderHandle; -- 2.7.4