Missing dwarf FDE

Hi All,

  I am trying to emit dwarf debug information for my target. By using
objdump or llvm-objdump
with `--dwarf=frames`, I can only see CIE (Common Information Entry)
but not FDE (Frame
Description Entry). Right now, my target LLVM backend only emit
assembly, and let binutils
do the rest. I don't know where the problem is, is there something
wrong in my target LLVM
backend or in the binutils?

  Please point me where should I look into, I will be very
appreciated. Thanks. :slight_smile:

Regards,
chenwj

From: llvm-dev [mailto:llvm-dev-bounces@lists.llvm.org] On Behalf Of ???
via llvm-dev
Sent: Tuesday, September 26, 2017 3:37 PM
To: LLVM Developers Mailing List
Subject: [llvm-dev] Missing dwarf FDE

Hi All,

  I am trying to emit dwarf debug information for my target. By using
objdump or llvm-objdump
with `--dwarf=frames`, I can only see CIE (Common Information Entry)
but not FDE (Frame
Description Entry). Right now, my target LLVM backend only emit
assembly, and let binutils
do the rest. I don't know where the problem is, is there something
wrong in my target LLVM
backend or in the binutils?

  Please point me where should I look into, I will be very
appreciated. Thanks. :slight_smile:

What .cfi_* directives do you see in your assembly?

If gcc supports your target, how does its behavior compare?
--paulr