[PATCH] Add llvm-pdbdump to tools

Aaron Ballman aaron.ballman at gmail.com
Thu Jan 29 08:03:48 PST 2015


This should hopefully be rectified with r227456, thank you for pointing it out!

~Aaron

On Thu, Jan 29, 2015 at 6:02 AM, Asiri Rathnayake
<asiri.rathnayake at arm.com> wrote:
> This seems to be causing quite a few failures in our Visual Studio builds:
>
>   f:\work\src\llvm\tools\llvm-pdbdump\COMExtras.h(40): error C2873: 'args_tuple' : symbol cannot be used in a using-declaration (F:\work\src\llvm\tools\llvm-pdbdump\DIAExtras.cpp) ...
>   f:\work\src\llvm\tools\llvm-pdbdump\COMExtras.h(40): error C2143: syntax error : missing ';' before '=' (F:\work\src\llvm\tools\llvm-pdbdump\DIAExtras.cpp) ...
>   f:\work\src\llvm\tools\llvm-pdbdump\COMExtras.h(40): error C2238: unexpected token(s) preceding ';' (F:\work\src\llvm\tools\llvm-pdbdump\DIAExtras.cpp) ...
>   f:\work\src\llvm\tools\llvm-pdbdump\COMExtras.h(46): error C2873: 'args_tuple' : symbol cannot be used in a using-declaration (F:\work\src\llvm\tools\llvm-pdbdump\DIAExtras.cpp) ...
>   f:\work\src\llvm\tools\llvm-pdbdump\COMExtras.h(46): error C2143: syntax error : missing ';' before '=' (F:\work\src\llvm\tools\llvm-pdbdump\DIAExtras.cpp) ...
>   f:\work\src\llvm\tools\llvm-pdbdump\COMExtras.h(46): error C2238: unexpected token(s) preceding ';' (F:\work\src\llvm\tools\llvm-pdbdump\DIAExtras.cpp) ...
>   f:\work\src\llvm\tools\llvm-pdbdump\COMExtras.h(85): error C2873: 'FunctionTraits' : symbol cannot be used in a using-declaration (F:\work\src\llvm\tools\llvm-pdbdump\DIAExtras.cpp) ...
>   f:\work\src\llvm\tools\llvm-pdbdump\COMExtras.h(85): error C2143: syntax error : missing ';' before '=' (F:\work\src\llvm\tools\llvm-pdbdump\DIAExtras.cpp) ...
>   f:\work\src\llvm\tools\llvm-pdbdump\COMExtras.h(85): error C2238: unexpected token(s) preceding ';' (F:\work\src\llvm\tools\llvm-pdbdump\DIAExtras.cpp) ...
>   f:\work\src\llvm\tools\llvm-pdbdump\COMExtras.h(86): error C2065: 'FunctionTraits' : undeclared identifier (F:\work\src\llvm\tools\llvm-pdbdump\DIAExtras.cpp) ...
>   f:\work\src\llvm\tools\llvm-pdbdump\COMExtras.h(86): error C2923: 'llvm::function_arg' : 'FunctionTraits' is not a valid template type argument for parameter 'FuncTraits' (F:\work\src\llvm\tools\llvm-pdbdump\DIAExtras.cpp) ...
>   f:\work\src\llvm\tools\llvm-pdbdump\COMExtras.h(40): error C2873: 'args_tuple' : symbol cannot be used in a using-declaration (F:\work\src\llvm\tools\llvm-pdbdump\DIASymbol.cpp) ...
>   f:\work\src\llvm\tools\llvm-pdbdump\COMExtras.h(40): error C2143: syntax error : missing ';' before '=' (F:\work\src\llvm\tools\llvm-pdbdump\DIASymbol.cpp) ...
>   f:\work\src\llvm\tools\llvm-pdbdump\COMExtras.h(40): error C2238: unexpected token(s) preceding ';' (F:\work\src\llvm\tools\llvm-pdbdump\DIASymbol.cpp) ...
>   f:\work\src\llvm\tools\llvm-pdbdump\COMExtras.h(46): error C2873: 'args_tuple' : symbol cannot be used in a using-declaration (F:\work\src\llvm\tools\llvm-pdbdump\DIASymbol.cpp) ...
>   f:\work\src\llvm\tools\llvm-pdbdump\COMExtras.h(46): error C2143: syntax error : missing ';' before '=' (F:\work\src\llvm\tools\llvm-pdbdump\DIASymbol.cpp) ...
>   f:\work\src\llvm\tools\llvm-pdbdump\COMExtras.h(46): error C2238: unexpected token(s) preceding ';' (F:\work\src\llvm\tools\llvm-pdbdump\DIASymbol.cpp) ...
>   f:\work\src\llvm\tools\llvm-pdbdump\COMExtras.h(85): error C2873: 'FunctionTraits' : symbol cannot be used in a using-declaration (F:\work\src\llvm\tools\llvm-pdbdump\DIASymbol.cpp) ...
>   f:\work\src\llvm\tools\llvm-pdbdump\COMExtras.h(85): error C2143: syntax error : missing ';' before '=' (F:\work\src\llvm\tools\llvm-pdbdump\DIASymbol.cpp) ...
>   f:\work\src\llvm\tools\llvm-pdbdump\COMExtras.h(85): error C2238: unexpected token(s) preceding ';' (F:\work\src\llvm\tools\llvm-pdbdump\DIASymbol.cpp) ...
>   f:\work\src\llvm\tools\llvm-pdbdump\COMExtras.h(86): error C2065: 'FunctionTraits' : undeclared identifier (F:\work\src\llvm\tools\llvm-pdbdump\DIASymbol.cpp) ...
>   f:\work\src\llvm\tools\llvm-pdbdump\COMExtras.h(86): error C2923: 'llvm::function_arg' : 'FunctionTraits' is not a valid template type argument for parameter 'FuncTraits' (F:\work\src\llvm\tools\llvm-pdbdump\DIASymbol.cpp) ...
>   f:\work\src\llvm\tools\llvm-pdbdump\DIASymbol.h(261): error C4519: default template arguments are only allowed on a class template (F:\work\src\llvm\tools\llvm-pdbdump\DIASymbol.cpp) ...
>   f:\work\src\llvm\tools\llvm-pdbdump\DIASymbol.cpp(312): error C2783: 'llvm::sys::windows::DIAResult<U> llvm::sys::windows::DIASymbol::InternalGetDIAValue(HRESULT (__cdecl IDiaSymbol::* )(T *))' : could not deduce template argument for 'U' ...
>   f:\work\src\llvm\tools\llvm-pdbdump\DIASymbol.cpp(316): error C2783: 'llvm::sys::windows::DIAResult<U> llvm::sys::windows::DIASymbol::InternalGetDIAValue(HRESULT (__cdecl IDiaSymbol::* )(T *))' : could not deduce template argument for 'U' ...
>   //.... lots more
>
> Note that http://reviews.llvm.org/D7132 needs to be patched before you can reach these failures (I've suggested a fix there). I expect it to go away soon, but you can manually patch that one if you plan to reproduce these failures.
>
> Thanks.
>
> - Asiri
>
>
> REPOSITORY
>   rL LLVM
>
> http://reviews.llvm.org/D7153
>
> EMAIL PREFERENCES
>   http://reviews.llvm.org/settings/panel/emailpreferences/
>
>



More information about the llvm-commits mailing list