Skip to content

Commit ad45031

Browse files
authored
[dsym][test][nfc] Remove DIE offsets. (#140628)
This test seems to be non-determistic recently. Changed it not to rely on offsets.
1 parent c2fd63c commit ad45031

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

llvm/test/tools/dsymutil/X86/op-convert-offset.test

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,14 @@ OBJ: DW_AT_location (DW_OP_breg2 RCX+0, DW_OP_constu 0x
4242
OBJ: DW_AT_name ("b")
4343
OBJ: DW_AT_type (0x000000af "_Bool")
4444

45-
DSYM: 0x00000084: DW_TAG_base_type
45+
DSYM: DW_TAG_compile_unit
46+
DSYM: DW_TAG_compile_unit
47+
DSYM: DW_TAG_base_type
4648
DSYM: DW_AT_name ("DW_ATE_unsigned_1")
4749
DSYM: DW_AT_encoding (DW_ATE_unsigned)
4850
DSYM: DW_AT_byte_size (0x01)
4951

50-
DSYM: 0x0000009b: DW_TAG_formal_parameter
52+
DSYM: DW_TAG_formal_parameter
5153
DSYM: DW_AT_location (DW_OP_breg2 RCX+0, DW_OP_constu 0xff, DW_OP_and, DW_OP_convert (0x00000084) "DW_ATE_unsigned_1", DW_OP_convert (0x00000088) "DW_ATE_unsigned_8", DW_OP_stack_value)
5254
DSYM: DW_AT_name ("b")
5355
DSYM: DW_AT_type ({{.*}} "_Bool")

0 commit comments

Comments
 (0)