[PATCH] D107969: [llvm-readobj] Support dumping of MSP430 ELF attributes
Jozef Lawrynowicz via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 17 09:50:14 PDT 2021
jozefl updated this revision to Diff 366930.
jozefl added a comment.
Herald added a subscriber: emaste.
Added yaml2obj tests that create SHT_MSP430_ATTRIBUTES sections by
directly specifying the raw contents of the section.
I've kept the CodeGen tests to ensure that we have coverage that the different
values for -mcpu= each emit the expected build attributes.
The ELFDumper.cpp changes have been refactored to apply cleanly on top of the
changes in https://reviews.llvm.org/D107968.
Thanks,
Jozef
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D107969/new/
https://reviews.llvm.org/D107969
Files:
llvm/include/llvm/Support/MSP430AttributeParser.h
llvm/include/llvm/Support/MSP430Attributes.h
llvm/lib/Object/ELF.cpp
llvm/lib/ObjectYAML/ELFYAML.cpp
llvm/lib/Support/CMakeLists.txt
llvm/lib/Support/MSP430AttributeParser.cpp
llvm/lib/Support/MSP430Attributes.cpp
llvm/lib/Target/MSP430/MCTargetDesc/MSP430ELFStreamer.cpp
llvm/test/CodeGen/MSP430/build-attrs.ll
llvm/test/tools/llvm-readobj/ELF/MSP430/build-attributes.test
llvm/test/tools/llvm-readobj/ELF/MSP430/lit.local.cfg
llvm/tools/llvm-readobj/ELFDumper.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107969.366930.patch
Type: text/x-patch
Size: 19306 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210817/08744be1/attachment.bin>
More information about the llvm-commits
mailing list