[llvm] fe0f2c1 - Fix compilation in gold-plugin triggered by D125847

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 1 18:51:45 PDT 2022


Author: Matthias Braun
Date: 2022-06-01T18:51:35-07:00
New Revision: fe0f2c1e9967030dbe70f95c72f310211caf4668

URL: https://github.com/llvm/llvm-project/commit/fe0f2c1e9967030dbe70f95c72f310211caf4668
DIFF: https://github.com/llvm/llvm-project/commit/fe0f2c1e9967030dbe70f95c72f310211caf4668.diff

LOG: Fix compilation in gold-plugin triggered by D125847

Added: 
    

Modified: 
    llvm/tools/gold/gold-plugin.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/tools/gold/gold-plugin.cpp b/llvm/tools/gold/gold-plugin.cpp
index a9814c650f05..9a0264d0c1dd 100644
--- a/llvm/tools/gold/gold-plugin.cpp
+++ b/llvm/tools/gold/gold-plugin.cpp
@@ -963,7 +963,7 @@ static std::unique_ptr<LTO> createLTO(IndexWriteCallback OnIndexWrite,
 
   Conf.HasWholeProgramVisibility = options::whole_program_visibility;
 
-  Conf.OpaquePointers = options.opaque_pointers;
+  Conf.OpaquePointers = options::opaque_pointers;
 
   Conf.StatsFile = options::stats_file;
   return std::make_unique<LTO>(std::move(Conf), Backend,


        


More information about the llvm-commits mailing list