[llvm-branch-commits] Deleted Mips symbols in the 3.5 branch
Daniel.Sanders at imgtec.com
Wed Dec 3 02:11:14 PST 2014
> -----Original Message-----
> From: Tom Stellard [mailto:thomas.stellard at amd.com]
> Sent: 03 December 2014 02:16
> To: Daniel Sanders; Stellard, Thomas; llvm-branch-commits at cs.uiuc.edu
> Subject: Re: Deleted Mips symbols in the 3.5 branch
> On 12/02/2014 05:54 PM, Daniel Sanders wrote:
> > I could be completely off-track here, but my initial attempts at using abi-
> compliance-checker on a subset of the public headers (everything in
> $prefix/include/llvm/Target, and
> $prefix/include/llvm/ExecutionEngine/ExecutionEngine.h) haven't reported
> anything other than --prefix related differences and this got me thinking.
> > We only need to worry about symbols that the user can directly access
> from the definitions in the public (installed) headers and not the whole
> symbol table, don't we? These symbols are in the symbol table for the
> shared library, but as far as I can tell there is no definition in the public
> headers that could enable a user to directly reference anything from
> $srcdir/lib/Target/Mips (not even the create* functions).
> This is a good point, and I think you are right about this. I have been
> using the ABI checker with -objects-only so it wasn't considering the
> headers at all. I think we are probably OK then with these deleted symbols
> for now, thanks for looking into this and sorry you had to be the guinea pig.
No problem. I need to learn quite a lot of the implementation detail for C++ anyway and this has been very helpful for that.
> I will try to get the ABI checker to consider the headers too. I had some
> trouble with this last time, but maybe a newer gcc will help.
I had some trouble with compile errors when I listed every public header in the library descriptor. I haven't looked too closely but the errors seemed to indicate that some of our headers are missing guards against multiple inclusion, and some are missing guards against inappropriate inclusion (e.g. Solaris.h on a linux host).
More information about the llvm-branch-commits