diff options
| author | Davide Italiano <davide@freebsd.org> | 2016-07-20 23:55:34 +0000 |
|---|---|---|
| committer | Davide Italiano <davide@freebsd.org> | 2016-07-20 23:55:34 +0000 |
| commit | fbcf69587e203ea0181bf788d9567250c757d7b5 (patch) | |
| tree | 43c66c998aae266c65a7d5536f3868f0b8d38b0d /lld/lib/Driver/DarwinLdDriver.cpp | |
| parent | 0e0e2d5d2640c629741cab88ae3d9736f6900bb4 (diff) | |
| download | bcm5719-llvm-fbcf69587e203ea0181bf788d9567250c757d7b5.tar.gz bcm5719-llvm-fbcf69587e203ea0181bf788d9567250c757d7b5.zip | |
[MachO] Add a couple of missing braces.
Differential Revision: https://reviews.llvm.org/D21979
llvm-svn: 276213
Diffstat (limited to 'lld/lib/Driver/DarwinLdDriver.cpp')
| -rw-r--r-- | lld/lib/Driver/DarwinLdDriver.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lld/lib/Driver/DarwinLdDriver.cpp b/lld/lib/Driver/DarwinLdDriver.cpp index 496b651bab4..f953669b269 100644 --- a/lld/lib/Driver/DarwinLdDriver.cpp +++ b/lld/lib/Driver/DarwinLdDriver.cpp @@ -739,9 +739,10 @@ bool parse(llvm::ArrayRef<const char *> args, MachOLinkingContext &ctx, } break; case MachOLinkingContext::OS::iOS_simulator: - if (pie->getOption().getID() == OPT_no_pie) + if (pie->getOption().getID() == OPT_no_pie) { diagnostics << "iOS simulator programs must be built PIE\n"; return false; + } break; case MachOLinkingContext::OS::unknown: break; |

