[PATCH] D107949: [llvm-objdump/llvm-readobj/obj2yaml/yaml2obj] Support STO_RISCV_VARIANT_CC and DT_RISCV_VARIANT_CC

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 12 00:06:44 PDT 2021


MaskRay created this revision.
Herald added subscribers: vkmr, frasercrmck, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, rupprecht, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya, emaste.
Herald added a reviewer: jhenderson.
MaskRay requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

STO_RISCV_VARIANT_CC marks that a symbol uses a non-standard calling
convention or the vector calling convention.

See https://github.com/riscv/riscv-elf-psabi-doc/pull/190


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D107949

Files:
  llvm/include/llvm/BinaryFormat/DynamicTags.def
  llvm/include/llvm/BinaryFormat/ELF.h
  llvm/lib/Object/ELF.cpp
  llvm/lib/ObjectYAML/ELFYAML.cpp
  llvm/test/tools/llvm-objdump/ELF/dynamic-section-machine-specific.test
  llvm/test/tools/llvm-readobj/ELF/dynamic-tags-machine-specific.test
  llvm/test/tools/obj2yaml/ELF/dynamic-section-arch-tags.yaml
  llvm/test/tools/obj2yaml/ELF/riscv-sym-other.yaml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107949.365922.patch
Type: text/x-patch
Size: 8416 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210812/8307cde6/attachment.bin>


More information about the llvm-commits mailing list