projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec94143
)
[gold] Fix build
author
Fangrui Song
<i@maskray.me>
Sat, 10 Dec 2022 19:49:44 +0000
(19:49 +0000)
committer
Fangrui Song
<i@maskray.me>
Sat, 10 Dec 2022 19:49:44 +0000
(19:49 +0000)
llvm/tools/gold/gold-plugin.cpp
patch
|
blob
|
history
diff --git
a/llvm/tools/gold/gold-plugin.cpp
b/llvm/tools/gold/gold-plugin.cpp
index a4fda26e5dc37270d95f42e6bf9c5163525238e3..660f51c40d6b9d09c58f11edeeb783e38dff4ee2 100644
(file)
--- 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<Reloc::Model> RelocationModel
= None
;
+static std::optional<Reloc::Model> RelocationModel;
static std::string output_name = "";
static std::list<claimed_file> Modules;
static DenseMap<int, void *> FDToLeaderHandle;