From 636a5cb8ded0d6ab7051cbde98953039ef80a6bb Mon Sep 17 00:00:00 2001 From: Alexey Samsonov Date: Tue, 29 Oct 2013 16:32:19 +0000 Subject: DWARF parser: propery handle DW_FORM_ref_sig8 and fix Windows build. Based on D2050 by Timur Iskhodzhanov. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193619 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/DebugInfo/DWARFFormValueTest.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'unittests') diff --git a/unittests/DebugInfo/DWARFFormValueTest.cpp b/unittests/DebugInfo/DWARFFormValueTest.cpp index 36cbae2..38b932e 100644 --- a/unittests/DebugInfo/DWARFFormValueTest.cpp +++ b/unittests/DebugInfo/DWARFFormValueTest.cpp @@ -43,6 +43,7 @@ TEST(DWARFFormValue, FormClass) { EXPECT_TRUE(isFormClass(DW_FORM_GNU_addr_index, DWARFFormValue::FC_Address)); EXPECT_FALSE(isFormClass(DW_FORM_ref_addr, DWARFFormValue::FC_Address)); EXPECT_TRUE(isFormClass(DW_FORM_ref_addr, DWARFFormValue::FC_Reference)); + EXPECT_TRUE(isFormClass(DW_FORM_ref_sig8, DWARFFormValue::FC_Reference)); } } // end anonymous namespace -- cgit v1.1