plotfi added a comment.

In D60974#1565570 <https://reviews.llvm.org/D60974#1565570>, @bruno wrote:

> > I am currently working on the next part of clang interface stubs that will 
> > take the interface stubs per compilation unit and merge them into one text 
> > stub (which will be used by something like llvm-elfabi to generate a 
> > stubbed out ELF .so file). I was using llvm-nm, but there are cases where 
> > the symbol is present in the .o file but it is marked as HIDDEN and 
> > llvm-readelf was what I was using to determine if the symbol was in fact 
> > marked as hidden. In these cases, the linker will not emit the symbol in 
> > the final .so file but it still needs the symbol as part of linking.
>
> This is similar to using "llvm-bcanalyzer" to check for serialization stuff 
> from clang. We can't guarantee that to be available and adding a dep here 
> would be weird. One way to workaround that would be to have a %llvm-readelf 
> thing in lit and not run tests if not available (which also makes it 
> questionable if it's not always running, but better than nothing?). Another 
> option is to add a small clang tool that dumps what you need to check.


I will take a look at this. Thanks @bruno


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