blob: 8f0dd44d4fd5683a1101263bdb53ff2c559c0f52 [file] [log] [blame]
// Copyright 2020 The Fuchsia Authors
//
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT
// This is poked into each assembly file via an `-include` command-line switch
// to ensure that all assembly code going into kernel links is consistent with
// compiler-generated code: it has only .debug_frame (offline) unwind info and
// no .eh_frame (runtime) unwind info.
#ifdef __PE_COFF__
.cfi_sections // PE-COFF doesn't use DWARF CFI, so emit none at all.
#else
.cfi_sections .debug_frame
#endif // __PE_COFF__