[PATCH] D61180: [yaml2obj] - Treat integer symbol names as explicit st_name value.

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 29 09:24:44 PDT 2019


jhenderson added a comment.

In D61180#1482568 <https://reviews.llvm.org/D61180#1482568>, @grimar wrote:

> I thought that it is impossible to have a symbol name that is a number. Because valid C name must begin with a letter of the alphabet or an underscore.
>  I.e. I am not sure we should care about this case. At least now. Should we?


Maybe not in C, but there's nothing in ELF that requires this, and I believe it might be possible to name them like that in assembly using double quotes.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61180/new/

https://reviews.llvm.org/D61180





More information about the llvm-commits mailing list