[PATCH] D30169: Print unknown section header flags has hex in assembly output
Christof Douma via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 23 09:29:09 PST 2017
christof added a comment.
To clarify. This patch fixes some cases where:
clang -S file.c -o - | clang -c - -o file.o
is not identical to:
clang -c file.c -o file.o
because the assembly output 'forgets' some of the flags in the output assembly.
This impacts some assembly test that cover the MIPS code generator. In general, code generators that have section header flags without any assembly syntax will now use the new hex notation.
https://reviews.llvm.org/D30169
More information about the llvm-commits
mailing list