blob: dde06542e79afef81831ff629bf3a2d63f706960 [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 _WIN32
.cfi_sections // PE-COFF doesn't use DWARF CFI, so emit none at all.
#else
.cfi_sections .debug_frame
#endif