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



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to