[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
Fri Feb 24 05:49:16 PST 2017
Christof Douma <Christof.Douma at arm.com> writes:
> Hi Rafael.
>
> There are a few more beside the one that Simon mentioned. You can find them by cross referencing the SHF_* enum values in include/llvm/Support/ELF.h and the code from lib/MC/MCSectionELF.cpp that I moved to printSectionFlags() in this patch. The ones I’ve identified this way are listed below.
>
> Are there any objections to this patch?
Some of the flags (SHF_COMPRESSED), should not be visible from
assembly. For the flags that should be visible from assembly, wouldn't
it be better to add the missing textual representation?
Cheers,
Rafael
More information about the llvm-commits
mailing list