plotfi added a comment. In D60974#1483479 <https://reviews.llvm.org/D60974#1483479>, @jakehehrlich wrote:
> In D60974#1483380 <https://reviews.llvm.org/D60974#1483380>, @plotfi wrote: > > > Also, curious on the lack of denoting the sections and which symbols go in > > which sections? Do you just assume that "Type: Object" goes into .data? > > > You don't need that information and the linker doesn't use it. It only uses > that information to get alignment. In the code that I'm writing right now it > happens to put everything in a single rodata section (except for tls which it > puts in a TLS rodata section, which isn't a thing that even exists in the > wild) 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? 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