dsymutil: Make -oso-prepend-path available to DwarfLinker.
authorAdrian Prantl <aprantl@apple.com>
Tue, 22 Sep 2015 18:51:01 +0000 (18:51 +0000)
committerAdrian Prantl <aprantl@apple.com>
Tue, 22 Sep 2015 18:51:01 +0000 (18:51 +0000)
NFC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248312 91177308-0d34-0410-b5e6-96231b3b80d8

tools/dsymutil/dsymutil.cpp
tools/dsymutil/dsymutil.h

index e3e37a36262ed14a5a1650e9a3f40acb2549f3fd..fef4cbd8e5279c346992ab0cf539725a2d4c6b14 100644 (file)
@@ -257,6 +257,7 @@ int main(int argc, char **argv) {
   Options.Verbose = Verbose;
   Options.NoOutput = NoOutput;
   Options.NoODR = NoODR;
   Options.Verbose = Verbose;
   Options.NoOutput = NoOutput;
   Options.NoODR = NoODR;
+  Options.PrependPath = OsoPrependPath;
 
   llvm::InitializeAllTargetInfos();
   llvm::InitializeAllTargetMCs();
 
   llvm::InitializeAllTargetInfos();
   llvm::InitializeAllTargetMCs();
index e8787453829507d5e2ed920ea24a90196b5f50b9..a8a09702581e31740000a3ac8d94577663d3686b 100644 (file)
@@ -28,6 +28,7 @@ struct LinkOptions {
   bool Verbose;  ///< Verbosity
   bool NoOutput; ///< Skip emitting output
   bool NoODR;    ///< Do not unique types according to ODR
   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) {}
 };
 
   LinkOptions() : Verbose(false), NoOutput(false) {}
 };