Home
last modified time | relevance | path

Searched refs:RefSize (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/BinaryFormat/
DDwarfTest.cpp144 Optional<uint8_t> RefSize; in TEST() local
149 RefSize = getFixedFormByteSize(DW_FORM_ref_addr, Params_2_4_32); in TEST()
151 EXPECT_TRUE(RefSize.hasValue()); in TEST()
153 EXPECT_EQ(*RefSize, *AddrSize); in TEST()
157 RefSize = getFixedFormByteSize(DW_FORM_ref_addr, Params_2_8_32); in TEST()
159 EXPECT_TRUE(RefSize.hasValue()); in TEST()
161 EXPECT_EQ(*RefSize, *AddrSize); in TEST()
165 RefSize = getFixedFormByteSize(DW_FORM_ref_addr, Params_3_4_32); in TEST()
166 EXPECT_TRUE(RefSize.hasValue()); in TEST()
167 EXPECT_EQ(*RefSize, 4); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DMCDwarf.cpp324 int RefSize = 4; // FIXME: Support DWARF-64 in emitRef() local
328 MCOS->EmitValue(makeStartPlusIntExpr(Ctx, *LineStrLabel, Offset), RefSize); in emitRef()
330 MCOS->EmitIntValue(Offset, RefSize); in emitRef()