summaryrefslogtreecommitdiffstats
path: root/lld/unittests/MachOTests/MachONormalizedFileBinaryWriterTests.cpp
diff options
context:
space:
mode:
authorNick Kledzik <kledzik@apple.com>2013-11-06 22:20:56 +0000
committerNick Kledzik <kledzik@apple.com>2013-11-06 22:20:56 +0000
commitf3e89cb8028571d3989ff08eeb7ba664884969b9 (patch)
tree64642e977faa702bd15901673fac803b61b57658 /lld/unittests/MachOTests/MachONormalizedFileBinaryWriterTests.cpp
parent020fa7f080213854e0ff971a0ed9b83dfde2e1aa (diff)
downloadbcm5719-llvm-f3e89cb8028571d3989ff08eeb7ba664884969b9.tar.gz
bcm5719-llvm-f3e89cb8028571d3989ff08eeb7ba664884969b9.zip
[mach-o] fix EXPECT_EQ types
llvm-svn: 194173
Diffstat (limited to 'lld/unittests/MachOTests/MachONormalizedFileBinaryWriterTests.cpp')
-rw-r--r--lld/unittests/MachOTests/MachONormalizedFileBinaryWriterTests.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lld/unittests/MachOTests/MachONormalizedFileBinaryWriterTests.cpp b/lld/unittests/MachOTests/MachONormalizedFileBinaryWriterTests.cpp
index 6de28291f97..67b81dde0dd 100644
--- a/lld/unittests/MachOTests/MachONormalizedFileBinaryWriterTests.cpp
+++ b/lld/unittests/MachOTests/MachONormalizedFileBinaryWriterTests.cpp
@@ -180,7 +180,7 @@ TEST(BinaryWriterTest, obj_relocs_x86_64) {
EXPECT_EQ(text.attributes,SectionAttr(S_ATTR_PURE_INSTRUCTIONS
| S_ATTR_SOME_INSTRUCTIONS));
EXPECT_EQ(text.alignment, 4U);
- EXPECT_EQ(text.address, 0x0ULL);
+ EXPECT_EQ(text.address, Hex64(0x0));
EXPECT_EQ(48UL, text.content.size());
const Relocation& call = text.relocations[0];
EXPECT_EQ(call.offset, Hex32(0x1));
@@ -287,7 +287,7 @@ TEST(BinaryWriterTest, obj_relocs_x86) {
EXPECT_EQ(text.attributes,SectionAttr(S_ATTR_PURE_INSTRUCTIONS
| S_ATTR_SOME_INSTRUCTIONS));
EXPECT_EQ(text.alignment, 4U);
- EXPECT_EQ(text.address, 0x0ULL);
+ EXPECT_EQ(text.address, Hex64(0x0));
EXPECT_EQ(22UL, text.content.size());
const Relocation& call = text.relocations[0];
EXPECT_EQ(call.offset, Hex32(0x1));
@@ -408,7 +408,7 @@ TEST(BinaryWriterTest, obj_relocs_armv7) {
EXPECT_EQ(text.attributes,SectionAttr(S_ATTR_PURE_INSTRUCTIONS
| S_ATTR_SOME_INSTRUCTIONS));
EXPECT_EQ(text.alignment, 2U);
- EXPECT_EQ(text.address, 0x0ULL);
+ EXPECT_EQ(text.address, Hex64(0x0));
EXPECT_EQ(18UL, text.content.size());
const Relocation& blx = text.relocations[0];
EXPECT_EQ(blx.offset, Hex32(0x0));
@@ -560,7 +560,7 @@ TEST(BinaryWriterTest, obj_relocs_ppc) {
EXPECT_EQ(text.attributes,SectionAttr(S_ATTR_PURE_INSTRUCTIONS
| S_ATTR_SOME_INSTRUCTIONS));
EXPECT_EQ(text.alignment, 2U);
- EXPECT_EQ(text.address, 0x0ULL);
+ EXPECT_EQ(text.address, Hex64(0x0));
EXPECT_EQ(44UL, text.content.size());
const Relocation& br24 = text.relocations[0];
EXPECT_EQ(br24.offset, Hex32(0x0));
OpenPOWER on IntegriCloud