This is an archive of the discontinued LLVM Phabricator instance.

[LoongArch 1/n] Add triples loongarch{32,64} for the upcoming LoongArch target
AbandonedPublic

Authored by SixWeining on Dec 10 2021, 2:58 AM.

Details

Reviewers
jhenderson
Summary

This is the first patch to incrementally add an MC layer for LoongArch to LLVM.
This patch also adds unit testcases for these new triples.

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

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.

Diff Detail

Event Timeline

SixWeining created this revision.Dec 10 2021, 2:58 AM
SixWeining requested review of this revision.Dec 10 2021, 2:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 10 2021, 2:58 AM
SixWeining abandoned this revision.Dec 10 2021, 2:59 AM