From: Adrian Prantl Date: Tue, 22 Sep 2015 18:51:01 +0000 (+0000) Subject: dsymutil: Make -oso-prepend-path available to DwarfLinker. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=45b0eeb56d392ec0ce95b950f7a28b1c29888fb2;p=oota-llvm.git dsymutil: Make -oso-prepend-path available to DwarfLinker. NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248312 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/dsymutil/dsymutil.cpp b/tools/dsymutil/dsymutil.cpp index e3e37a36262..fef4cbd8e52 100644 --- a/tools/dsymutil/dsymutil.cpp +++ b/tools/dsymutil/dsymutil.cpp @@ -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(); diff --git a/tools/dsymutil/dsymutil.h b/tools/dsymutil/dsymutil.h index e8787453829..a8a09702581 100644 --- a/tools/dsymutil/dsymutil.h +++ b/tools/dsymutil/dsymutil.h @@ -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) {} };