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

Daniel Sanders via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 8 03:19:11 PDT 2016


dsanders created this revision.
dsanders added a subscriber: llvm-commits.
Herald added subscribers: sdardis, dsanders.

The Mips implementation only covers the feature bits described by the ELF
e_flags so far. Mips stores additional feature bits such as MSA in the
.MIPS.abiflags section.

Also fixed a small bug this revealed where microMIPS wouldn't add the
EF_MIPS_MICROMIPS flag when using -filetype=obj.

http://reviews.llvm.org/D21125

Files:
  include/llvm/Object/COFF.h
  include/llvm/Object/ELFObjectFile.h
  include/llvm/Object/MachO.h
  include/llvm/Object/ObjectFile.h
  include/llvm/Support/ELF.h
  lib/Target/Mips/MipsAsmPrinter.cpp
  test/CodeGen/Mips/Fast-ISel/shift.ll
  test/CodeGen/Mips/compactbranches/no-beqzc-bnezc.ll
  test/CodeGen/Mips/micromips-atomic1.ll
  test/MC/Mips/cpload.s
  test/MC/Mips/cprestore-noreorder-noat.s
  test/MC/Mips/cprestore-noreorder.s
  test/MC/Mips/cprestore-reorder.s
  test/MC/Mips/cpsetup.s
  test/MC/Mips/micromips-el-fixup-data.s
  test/MC/Mips/mips64extins.s
  test/MC/Mips/mips_gprel16.s
  test/MC/Mips/set-defined-symbol.s
  test/Object/Mips/feature.test
  test/Object/Mips/objdump-micro-mips.test
  tools/llvm-objdump/llvm-objdump.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21125.60011.patch
Type: text/x-patch
Size: 15099 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160608/ec8b2066/attachment.bin>


More information about the llvm-commits mailing list