diff options
| author | quic-areg <aregmi@quicinc.com> | 2024-03-19 16:22:30 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-19 16:22:30 -0500 |
| commit | 31f4b329c8234fab9afa59494d7f8bdaeaefeaad (patch) | |
| tree | a88023fe94f6377934295fd58a6aa127473afc52 /llvm/lib/ObjectYAML | |
| parent | e3030f1e1958a2be51822bacce764395c16e682a (diff) | |
| download | llvm-31f4b329c8234fab9afa59494d7f8bdaeaefeaad.tar.gz llvm-31f4b329c8234fab9afa59494d7f8bdaeaefeaad.tar.bz2 llvm-31f4b329c8234fab9afa59494d7f8bdaeaefeaad.zip | |
[Hexagon] ELF attributes for Hexagon (#85359)
Defines a subset of attributes and emits them to a section called
.hexagon.attributes.
The current attributes recorded are the attributes needed by
llvm-objdump to automatically determine target features and eliminate
the need to manually pass features.
Diffstat (limited to 'llvm/lib/ObjectYAML')
| -rw-r--r-- | llvm/lib/ObjectYAML/ELFYAML.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/ObjectYAML/ELFYAML.cpp b/llvm/lib/ObjectYAML/ELFYAML.cpp index 9c1a28db592a..045211c44b90 100644 --- a/llvm/lib/ObjectYAML/ELFYAML.cpp +++ b/llvm/lib/ObjectYAML/ELFYAML.cpp @@ -716,6 +716,7 @@ void ScalarEnumerationTraits<ELFYAML::ELF_SHT>::enumeration( break; case ELF::EM_HEXAGON: ECase(SHT_HEX_ORDERED); + ECase(SHT_HEXAGON_ATTRIBUTES); break; case ELF::EM_X86_64: ECase(SHT_X86_64_UNWIND); |
