[cfe-dev] linkage errors for VS2005 Release build

Viktar Zviarovich Viktar.Zviarovich at brunel.ac.uk
Fri Mar 6 04:05:14 PST 2009


In the output of 'dumpbin /symbols clangSema.lib' for debug version I see the following entries for Sema::ActOnCallExpr where obviously the first one is wrong (Sema::SourceLocation and Sema::clang instead of clang::SourceLocation):

20F2 00000000 SECTBAF notype ()    External    | ?ActOnCallExpr at Sema@clang@@UAE?AV?$ASTOwningResult@$1??_9ActionBase at clang@@$B3AE at 2@PAVScope at 2@V32 at VSourceLocation@2 at V?$ASTMultiPtr@$1??_9ActionBase at clang@@$B3AE at clang@@PAVSourceLocation at 1@V21@@Z (public: virtual class clang::ASTOwningResult<&[thunk]: __thiscall clang::ActionBase::`vcall'{4,{flat}}' }'> __thiscall clang::Sema::ActOnCallExpr(class clang::Scope *,class clang::ASTOwningResult<&[thunk]: __thiscall clang::ActionBase::`vcall'{4,{flat}}' }'>,class clang::SourceLocation,class clang::ASTMultiPtr<&[thunk]: __thiscall clang::ActionBase::`vcall'{4,{flat}}' }'>,class Sema::SourceLocation *,class Sema::clang))

DE1 00000000 UNDEF  notype ()    External     | ?ActOnCallExpr at Sema@clang@@UAE?AV?$ASTOwningResult@$1??_9ActionBase at clang@@$B3AE at 2@PAVScope at 2@V32 at VSourceLocation@2 at V?$ASTMultiPtr@$1??_9ActionBase at clang@@$B3AE at 2@PAV52 at 2@Z (public: virtual class clang::ASTOwningResult<&[thunk]: __thiscall clang::ActionBase::`vcall'{4,{flat}}' }'> __thiscall clang::Sema::ActOnCallExpr(class clang::Scope *,class clang::ASTOwningResult<&[thunk]: __thiscall clang::ActionBase::`vcall'{4,{flat}}' }'>,class clang::SourceLocation,class clang::ASTMultiPtr<&[thunk]: __thiscall clang::ActionBase::`vcall'{4,{flat}}' }'>,class clang::SourceLocation *,class clang::SourceLocation))

22E 00000000 UNDEF  notype ()    External     | ?ActOnCallExpr at Sema@clang@@UAE?AV?$ASTOwningResult@$1??_9ActionBase at clang@@$B3AE at 2@PAVScope at 2@V32 at VSourceLocation@2 at V?$ASTMultiPtr@$1??_9ActionBase at clang@@$B3AE at 2@PAV52 at 2@Z (public: virtual class clang::ASTOwningResult<&[thunk]: __thiscall clang::ActionBase::`vcall'{4,{flat}}' }'> __thiscall clang::Sema::ActOnCallExpr(class clang::Scope *,class clang::ASTOwningResult<&[thunk]: __thiscall clang::ActionBase::`vcall'{4,{flat}}' }'>,class clang::SourceLocation,class clang::ASTMultiPtr<&[thunk]: __thiscall clang::ActionBase::`vcall'{4,{flat}}' }'>,class clang::SourceLocation *,class clang::SourceLocation))

In debug version all the entries agree.
Any ideas?

Victor

-----Original Message-----
From: Sebastian Redl [mailto:sebastian.redl at getdesigned.at]
Sent: Thu 05/03/2009 20:19
To: Viktar Zviarovich
Cc: cfe-dev at cs.uiuc.edu
Subject: Re: [cfe-dev] linkage errors for VS2005 Release build
 
Viktar Zviarovich wrote:
> Hi Sebastian,
>
> This is the full list of errors. As you already figured out from the
> messages there are 4 unresolved externals reported which are Sema
> member-functions. May be you know the tool that can dump the list of
> symbols defined in the library?
>   
bindump /symbols libname

Should be in the path if you open a Visual Studio command prompt.

Sebastian





More information about the cfe-dev mailing list