Skip to content

Commit 9541ecf

Browse files
committed
Remove explicit __compact_unwind entries from x64 assembler
1 parent 2e3dd8e commit 9541ecf

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

src/coreclr/nativeaot/Runtime/unix/unixasmmacrosamd64.inc

-9
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,6 @@
1616

1717
.macro NESTED_END Name, Section
1818
LEAF_END \Name, \Section
19-
#if defined(__APPLE__)
20-
.set LOCAL_LABEL(\Name\()_Size), . - C_FUNC(\Name)
21-
.section __LD,__compact_unwind,regular,debug
22-
.quad C_FUNC(\Name)
23-
.long LOCAL_LABEL(\Name\()_Size)
24-
.long 0x04000000 # DWARF
25-
.quad 0
26-
.quad 0
27-
#endif
2819
.endm
2920

3021
.macro PATCH_LABEL Name

src/coreclr/pal/inc/unixasmmacrosamd64.inc

-9
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,6 @@
1616

1717
.macro NESTED_END Name, Section
1818
LEAF_END \Name, \Section
19-
#if defined(__APPLE__)
20-
.set LOCAL_LABEL(\Name\()_Size), . - C_FUNC(\Name)
21-
.section __LD,__compact_unwind,regular,debug
22-
.quad C_FUNC(\Name)
23-
.long LOCAL_LABEL(\Name\()_Size)
24-
.long 0x04000000 # DWARF
25-
.quad 0
26-
.quad 0
27-
#endif
2819
.endm
2920

3021
.macro PATCH_LABEL Name

0 commit comments

Comments
 (0)