diff options
author | Fangrui Song <i@maskray.me> | 2020-09-26 15:57:09 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2020-09-26 15:57:13 -0700 |
commit | 20e9c36c013c4a9b13cf256ca5262afe3def78ad (patch) | |
tree | c9bffa41a92f968dfdfe99aa24033df1d87e7ba2 /lld/MachO | |
parent | 6f24774fc4e296b9047e5873c070af4e0fd638e5 (diff) | |
download | llvm-project-20e9c36c013c4a9b13cf256ca5262afe3def78ad.tar.gz |
Internalize functions from various tools. NFC
And internalize some classes if I noticed them:)
Diffstat (limited to 'lld/MachO')
-rw-r--r-- | lld/MachO/Driver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/MachO/Driver.cpp b/lld/MachO/Driver.cpp index 7a8215bd0398..482e4a13a8b4 100644 --- a/lld/MachO/Driver.cpp +++ b/lld/MachO/Driver.cpp @@ -88,7 +88,7 @@ void MachOOptTable::printHelp(const char *argv0, bool showHidden) const { lld::outs() << "\n"; } -HeaderFileType getOutputType(const opt::InputArgList &args) { +static HeaderFileType getOutputType(const opt::InputArgList &args) { // TODO: -r, -dylinker, -preload... opt::Arg *outputArg = args.getLastArg(OPT_bundle, OPT_dylib, OPT_execute); if (outputArg == nullptr) |