[llvm-bugs] [Bug 28276] New: Unittest DebugInfoPDBTests is not built

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jun 23 03:19:46 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=28276

            Bug ID: 28276
           Summary: Unittest DebugInfoPDBTests is not built
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: mytcepa at mail.ru
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Scanning dependencies of target DebugInfoPDBTests
12:35:57 4>    [ 87%] Building CXX object
unittests/DebugInfo/PDB/CMakeFiles/DebugInfoPDBTests.dir/MappedBlockStreamTest.cpp.o
12:35:57 4>   
err>.../llvm/llvm/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp: In member
function ‘virtual void
{anonymous}::MappedBlockStreamTest_TestWriteThenRead_Test::TestBody()’:
12:35:57 4>   
err>.../llvm/llvm/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp:320:58:
error: could not convert ‘(uint8_t*)(& byteArray0)’ from ‘uint8_t* {aka
unsigned char*}’ to ‘llvm::ArrayRef<unsigned char>’
12:35:57 4>   
err>.../llvm/llvm/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp:320:58:
error: could not convert ‘(uint8_t*)(& byteArray1)’ from ‘uint8_t* {aka
unsigned char*}’ to ‘llvm::ArrayRef<unsigned char>’
12:35:57 4>    err>In file included from
.../llvm/llvm/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp:13:0:
12:35:57 4>   
err>.../llvm/llvm/include/llvm/DebugInfo/CodeView/StreamReader.h: In
instantiation of ‘llvm::Error
llvm::codeview::StreamReader::readArray(llvm::ArrayRef<T>&, uint32_t) [with T =
unsigned char; uint32_t = unsigned int]’:
12:35:57 4>   
err>.../llvm/llvm/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp:373:3:  
required from here
12:35:57 4>   
err>.../llvm/llvm/include/llvm/DebugInfo/CodeView/StreamReader.h:64:5: warning:
comparison is always false due to limited range of data type [-Wtype-limits]
12:35:57 4>    [ 87%] Linking CXX executable DebugInfoDWARFTests
12:35:57 4>    err>gmake[2]: ***
[unittests/DebugInfo/PDB/CMakeFiles/DebugInfoPDBTests.dir/MappedBlockStreamTest.cpp.o]
Error 1
12:35:57 4>    err>gmake[1]: ***
[unittests/DebugInfo/PDB/CMakeFiles/DebugInfoPDBTests.dir/all] Error 2
12:35:57 4>    err>gmake[1]: *** Waiting for unfinished jobs....
12:35:57 4>    [ 87%] Built target DebugInfoDWARFTests
12:35:57 4>    err>gmake: *** [all] Error 2
12:35:59 4>        <testcase name ="Build" status="run"/>
12:35:59 4>            <failure message="failed">
12:35:59 4>Task Failed: Build.Build
12:35:59 4>End Time: 2016-06-23 13:35:54
12:35:59 4>Elapsed: 1:00:01.715139
12:35:59 4>Return Code: 2

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160623/9ee3368a/attachment.html>


More information about the llvm-bugs mailing list