addPlatformSearchDirs(*ctx, triple, baseTriple);
// Figure out output kind ( -r, -static, -shared)
- if ( llvm::opt::Arg *kind = parsedArgs->getLastArg(OPT_relocatable, OPT_static,
- OPT_shared, OPT_nmagic,
- OPT_omagic, OPT_no_omagic)) {
+ if (llvm::opt::Arg *kind =
+ parsedArgs->getLastArg(OPT_relocatable, OPT_static, OPT_shared,
+ OPT_nmagic, OPT_omagic, OPT_no_omagic)) {
switch (kind->getOption().getID()) {
case OPT_relocatable:
ctx->setOutputELFType(llvm::ELF::ET_REL);
}
// Figure out if the output type is nmagic/omagic
- if ( llvm::opt::Arg *kind = parsedArgs->getLastArg(OPT_nmagic, OPT_omagic,
- OPT_no_omagic)) {
+ if (llvm::opt::Arg *kind =
+ parsedArgs->getLastArg(OPT_nmagic, OPT_omagic, OPT_no_omagic)) {
switch (kind->getOption().getID()) {
case OPT_nmagic:
ctx->setOutputMagic(ELFLinkingContext::OutputMagic::NMAGIC);