This is an archive of the discontinued LLVM Phabricator instance.

[LoongArch 2/n] Add ELF machine flag and relocs for upcoming LoongArch target
AbandonedPublicDraft

Authored by SixWeining on Dec 14 2021, 6:04 PM.

Details

Reviewers
jhenderson
Summary

This patch adds necessary definitions for LoongArch ELF files, including
relocation types. Also adds initial support to ELFYaml, llvm-objdump,
and llvm-readobj in order to work with LoongArch ELFs.

Depends on D115772

Diff Detail

Unit TestsFailed