dsymutil: Make -oso-prepend-path available to DwarfLinker.

NFC

llvm-svn: 248312
This commit is contained in:
Adrian Prantl 2015-09-22 18:51:01 +00:00
parent fdd9a8275b
commit 4e6b3b2580
2 changed files with 2 additions and 0 deletions

View File

@ -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();

View File

@ -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) {}
};