diff options
author | Rui Ueyama <ruiu@google.com> | 2017-04-29 23:06:43 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2017-04-29 23:06:43 +0000 |
commit | bd27849e4ba6f8a50abeaa2124f3091cda5db114 (patch) | |
tree | b6d07ef2d3693e96b223fcd3811cfbd01f21b9ec /lld/ELF/Driver.cpp | |
parent | 85a5e69cedff8f053cdc71b4912b23313fd09eb6 (diff) | |
download | bcm5719-llvm-bd27849e4ba6f8a50abeaa2124f3091cda5db114.tar.gz bcm5719-llvm-bd27849e4ba6f8a50abeaa2124f3091cda5db114.zip |
Rename RPath Rpath for consistency. NFC.
For an option -foo-bar-baz, we have Config->FooBarBaz. Since -rpath is
-rpath and not -r-path, it should be Config->Rpath instead Config->RPath.
llvm-svn: 301759
Diffstat (limited to 'lld/ELF/Driver.cpp')
-rw-r--r-- | lld/ELF/Driver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/ELF/Driver.cpp b/lld/ELF/Driver.cpp index fce6321a742..1e3dfa05ee1 100644 --- a/lld/ELF/Driver.cpp +++ b/lld/ELF/Driver.cpp @@ -399,7 +399,7 @@ static std::vector<StringRef> getArgs(opt::InputArgList &Args, int Id) { return V; } -static std::string getRPath(opt::InputArgList &Args) { +static std::string getRpath(opt::InputArgList &Args) { std::vector<StringRef> V = getArgs(Args, OPT_rpath); return llvm::join(V.begin(), V.end(), ":"); } @@ -640,7 +640,7 @@ void LinkerDriver::readConfigs(opt::InputArgList &Args) { Config->OutputFile = getString(Args, OPT_o); Config->Pie = getArg(Args, OPT_pie, OPT_nopie, false); Config->PrintGcSections = Args.hasArg(OPT_print_gc_sections); - Config->RPath = getRPath(Args); + Config->Rpath = getRpath(Args); Config->Relocatable = Args.hasArg(OPT_relocatable); Config->SaveTemps = Args.hasArg(OPT_save_temps); Config->SearchPaths = getArgs(Args, OPT_L); |