[llvm] r250356 - [llvm-pdbdump] Provide a mechanism to dump the raw contents of a PDB

David Majnemer via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 15 02:20:31 PDT 2015


Should be fixed with r250383.

On Thu, Oct 15, 2015 at 2:00 AM, Ismail Donmez <ismail at i10z.com> wrote:

> Hi,
>
> On Thu, Oct 15, 2015 at 4:27 AM, David Majnemer via llvm-commits <
> llvm-commits at lists.llvm.org> wrote:
>
>> Author: majnemer
>> Date: Wed Oct 14 20:27:19 2015
>> New Revision: 250356
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=250356&view=rev
>> Log:
>> [llvm-pdbdump] Provide a mechanism to dump the raw contents of a PDB
>>
>> A PDB can be thought of as a very simple file system.  It is
>> occasionally illuminating to see the contents of the underlying files.
>>
>> Differential Revision: http://reviews.llvm.org/D13674
>>
>>
>
>> +          std::min(BytesLeftToReadInStream,
>> static_cast<uint32_t>(SB->BlockSize));
>>
>
> This line errors out with MSVC 2015 (x64 build):
>
>  FAILED: C:\PROGRA~2\MICROS~1.0\VC\BIN\amd64\cl.exe   /nologo /TP
> -DGTEST_HAS_RTTI=0 -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS
> -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_HAS_EXCEPTIONS=0
> -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS
> -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
> -Itools\llvm-pdbdump -I..\tools\llvm-pdbdump -Iinclude -I..\include /DWIN32
> /D_WINDOWS   -wd4141 -wd4146 -wd4180 -wd4244 -wd4258 -wd4267 -wd4291
> -wd4345 -wd4351 -wd4355 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624
> -wd4722 -wd4800 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702
> -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204
> -wd4577 -wd4091 -wd4324 -w14062 -we4238 /W4 /Zc:inline /Zc:sizedDealloc-
> /MT /O2 /Ob2   -UNDEBUG  /EHs-c- /GR- /showIncludes
> /Fotools\llvm-pdbdump\CMakeFiles\llvm-pdbdump.dir\llvm-pdbdump.cpp.obj
> /Fdtools\llvm-pdbdump\CMakeFiles\llvm-pdbdump.dir\ /FS -c
> ..\tools\llvm-pdbdump\llvm-pdbdump.cpp
> ..\tools\llvm-pdbdump\llvm-pdbdump.cpp(365): error C2589: '(': illegal
> token on right side of '::'
> ..\tools\llvm-pdbdump\llvm-pdbdump.cpp(365): error C2059: syntax error:
> '::'
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151015/f58eeffc/attachment.html>


More information about the llvm-commits mailing list