// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. .macro NESTED_ENTRY Name, Section, Handler LEAF_ENTRY \Name, \Section .ifnc \Handler, NoHandler .cfi_personality 0x1b, C_FUNC(\Handler) // 0x1b == DW_EH_PE_pcrel | DW_EH_PE_sdata4 .endif .endm .macro NESTED_END Name, Section LEAF_END \Name, \Section .endm .macro LEAF_ENTRY Name, Section .global C_FUNC(\Name) .type \Name, %function C_FUNC(\Name): .cfi_startproc .endm .macro LEAF_END Name, Section .size \Name, .-\Name .cfi_endproc .endm .macro LEAF_END_MARKED Name, Section C_FUNC(\Name\()_End): .global C_FUNC(\Name\()_End) LEAF_END \Name, \Section .endm