[Bug 27247] New: ObjectFileELF should parse ".ARM" section headers to help determine the triple for ARM ELF files

Bug ID 27247
Summary ObjectFileELF should parse “.ARM” section headers to help determine the triple for ARM ELF files
Product lldb
Version unspecified
Hardware All
OS All
Status NEW
Severity enhancement
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter clayborg@gmail.com
CC llvm-bugs@lists.llvm.org
Classification Unclassified

There are some sections described in the ARM ELF spec that contain extra
information that can help us to correctly determine the variant of ARM core in
sections like ".ARM.attributes". This is described in the ARM ELF spec:

[http://infocenter.arm.com/help/topic/com.arm.doc.ihi0044f/IHI0044F_aaelf.pdf](http://infocenter.arm.com/help/topic/com.arm.doc.ihi0044f/IHI0044F_aaelf.pdf)

in section 4.3.6 Build Attributes. Seems like there is some good stuff that we
can use in this section.

I am posting this in case anyone that uses ARM ELF files can get to this before
I can fix it.