[PATCH] D30169: Print unknown section header flags has hex in assembly output

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 23 09:59:27 PST 2017


What are the flags that are missing textual representation btw?

Christof Douma via Phabricator <reviews at reviews.llvm.org> writes:

> 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