diff options
Diffstat (limited to 'lld/MachO/Driver.cpp')
-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 7550b0b..31630ba 100644 --- a/lld/MachO/Driver.cpp +++ b/lld/MachO/Driver.cpp @@ -1842,7 +1842,7 @@ bool link(ArrayRef<const char *> argsArr, llvm::raw_ostream &stdoutOS, args.hasArg(OPT_irpgo_profile_sort_eq)) warn("--irpgo-profile-sort is deprecated. Please use " "--bp-startup-sort=function"); - if (const Arg *arg = args.getLastArg(OPT_irpgo_profile_eq)) + if (const Arg *arg = args.getLastArg(OPT_irpgo_profile)) config->irpgoProfilePath = arg->getValue(); if (const Arg *arg = args.getLastArg(OPT_irpgo_profile_sort)) { |