[llvm] r272880 - [llvm-objdump] Support detection of feature bits from the object and implement this for Mips.

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 16 05:09:56 PDT 2016


>    // Package up features to be passed to target/subtarget
> -  std::string FeaturesStr;
> +  SubtargetFeatures Features = Obj->getFeatures();
>    if (MAttrs.size()) {
> -    SubtargetFeatures Features;
>      for (unsigned i = 0; i != MAttrs.size(); ++i)
>        Features.AddFeature(MAttrs[i]);
> -    FeaturesStr = Features.getString();
>    }

Can we delete the MAttrs option in llvm-objdump now?

Cheers,
Rafael


More information about the llvm-commits mailing list