[llvm] r248312 - dsymutil: Make -oso-prepend-path available to DwarfLinker.

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 22 11:51:02 PDT 2015


Author: adrian
Date: Tue Sep 22 13:51:01 2015
New Revision: 248312

URL: http://llvm.org/viewvc/llvm-project?rev=248312&view=rev
Log:
dsymutil: Make -oso-prepend-path available to DwarfLinker.
NFC

Modified:
    llvm/trunk/tools/dsymutil/dsymutil.cpp
    llvm/trunk/tools/dsymutil/dsymutil.h

Modified: llvm/trunk/tools/dsymutil/dsymutil.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/dsymutil/dsymutil.cpp?rev=248312&r1=248311&r2=248312&view=diff
==============================================================================
--- llvm/trunk/tools/dsymutil/dsymutil.cpp (original)
+++ llvm/trunk/tools/dsymutil/dsymutil.cpp Tue Sep 22 13:51:01 2015
@@ -257,6 +257,7 @@ int main(int argc, char **argv) {
   Options.Verbose = Verbose;
   Options.NoOutput = NoOutput;
   Options.NoODR = NoODR;
+  Options.PrependPath = OsoPrependPath;
 
   llvm::InitializeAllTargetInfos();
   llvm::InitializeAllTargetMCs();

Modified: llvm/trunk/tools/dsymutil/dsymutil.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/dsymutil/dsymutil.h?rev=248312&r1=248311&r2=248312&view=diff
==============================================================================
--- llvm/trunk/tools/dsymutil/dsymutil.h (original)
+++ llvm/trunk/tools/dsymutil/dsymutil.h Tue Sep 22 13:51:01 2015
@@ -28,6 +28,7 @@ struct LinkOptions {
   bool Verbose;  ///< Verbosity
   bool NoOutput; ///< Skip emitting output
   bool NoODR;    ///< Do not unique types according to ODR
+  std::string PrependPath; //< -oso-prepend-path
 
   LinkOptions() : Verbose(false), NoOutput(false) {}
 };




More information about the llvm-commits mailing list