Skip to content

Commit e379b4b

Browse files
committed
[lldb] Fix compile failure on SymbolFileDWARFTests.cpp with gcc
We need to explicitly specify template argument for llvm::ArrayRef when building with gcc.
1 parent d24fdce commit e379b4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/unittests/SymbolFile/DWARF/SymbolFileDWARFTests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ TEST_F(SymbolFileDWARFTests, ParseArangesNonzeroSegmentSize) {
9292
// END TUPLES
9393
0, 0, 0, 0, 0, 0, 0, 0, 0 // terminator
9494
};
95-
llvm::DWARFDataExtractor data(llvm::ArrayRef(binary_data),
95+
llvm::DWARFDataExtractor data(llvm::ArrayRef<unsigned char>(binary_data),
9696
/*isLittleEndian=*/false, /*AddrSize=*/4);
9797

9898
DWARFDebugArangeSet debug_aranges;

0 commit comments

Comments
 (0)