[llvm] r373633 - Fix build failure with GCC on identifier reusing.
Michael Liao via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 3 10:47:46 PDT 2019
Author: hliao
Date: Thu Oct 3 10:47:46 2019
New Revision: 373633
URL: http://llvm.org/viewvc/llvm-project?rev=373633&view=rev
Log:
Fix build failure with GCC on identifier reusing.
- GCC is different from clang and other compilers on that.
https://godbolt.org/z/CeQE1V
Modified:
llvm/trunk/tools/dsymutil/dsymutil.cpp
Modified: llvm/trunk/tools/dsymutil/dsymutil.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/dsymutil/dsymutil.cpp?rev=373633&r1=373632&r2=373633&view=diff
==============================================================================
--- llvm/trunk/tools/dsymutil/dsymutil.cpp (original)
+++ llvm/trunk/tools/dsymutil/dsymutil.cpp Thu Oct 3 10:47:46 2019
@@ -95,7 +95,7 @@ struct DsymutilOptions {
std::vector<std::string> Archs;
std::vector<std::string> InputFiles;
unsigned NumThreads;
- LinkOptions LinkOptions;
+ dsymutil::LinkOptions LinkOptions;
};
/// Return a list of input files. This function has logic for dealing with the
More information about the llvm-commits
mailing list