commit | 10bc29445894c398a33e4099a9fa1d31f48ad56a | [log] [tgz] |
---|---|---|
author | Shiva Chen <shiva0217@gmail.com> | Fri Feb 02 06:01:02 2018 +0000 |
committer | Shiva Chen <shiva0217@gmail.com> | Fri Feb 02 06:01:02 2018 +0000 |
tree | 7172e57bf5e62162496a7876513777895ca8f48e | |
parent | fb0498b03e8b259d4678a31b986dc6694b8a4a89 [diff] |
[RISCV] Add ELFObjectFileBase::getRISCVFeatures let llvm-objdump could get RISCV target feature llvm-objdump could get C feature by ELF::EF_RISCV_RVC e_flag, so then we don't have to add -mattr=+c on the command line. Differential Revision: https://reviews.llvm.org/D42629 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@324058 91177308-0d34-0410-b5e6-96231b3b80d8