Skip to content

Commit 144f6ce

Browse files
committed
fixup! reword error
1 parent ee38d2d commit 144f6ce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/lib/DebugInfo/DWARF/DWARFDie.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ getApplePropertyName(const DWARFDie &PropDIE) {
135135
return llvm::createStringError("invalid DIE");
136136

137137
if (PropDIE.getTag() != DW_TAG_APPLE_property)
138-
return llvm::createStringError("referencing not a DW_TAG_APPLE_property");
138+
return llvm::createStringError("not referencing a DW_TAG_APPLE_property");
139139

140140
auto PropNameForm = PropDIE.find(DW_AT_APPLE_property_name);
141141
if (!PropNameForm)

llvm/test/tools/llvm-dwarfdump/AArch64/DW_AT_APPLE_property.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# CHECK: DW_AT_APPLE_property (0x{{.*}})
2222
# CHECK: DW_AT_APPLE_property (0x[[INVALID_STRP]])
2323

24-
# ERRORS: error: decoding DW_AT_APPLE_property_name: referencing not a DW_TAG_APPLE_property
24+
# ERRORS: error: decoding DW_AT_APPLE_property_name: not referencing a DW_TAG_APPLE_property
2525
# ERRORS: error: decoding DW_AT_APPLE_property_name: invalid DIE
2626
# ERRORS: error: decoding DW_AT_APPLE_property_name: DW_FORM_strp offset 102 is beyond .debug_str bounds
2727

0 commit comments

Comments
 (0)