[PATCH] D60974: Clang IFSO driver action.

Puyan Lotfi via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 30 21:24:30 PDT 2019


plotfi added a comment.

In D60974#1485610 <https://reviews.llvm.org/D60974#1485610>, @jakehehrlich wrote:

> > Wanted to mention, from my testing with yaml2obj, I needed the section flags (SHF_EXECINSTR, SHF_WRITE, SHF_ALLOC, etc) otherwise nm was spitting the wrong thing. How are you going to handle those?
>
> I'm not sure what you mean. yaml2obj is a different tool that we shouldn't be using IMO. yaml2obj would require the sections to denote that a symbol was defined. When producing an elf file from the .tbe format you have to synthesize sections for this same reason.


I meant, not including the section permissions (when I was emitting yaml2obj yaml) resulted in a .so file where nm thought all the symbols were ' "N" The symbol is a debugging symbol '


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D60974





More information about the cfe-commits mailing list