OSDN Git Service

Some autoconf tests use module level inline asm to test compiler's handling of
authorEvan Cheng <evan.cheng@apple.com>
Wed, 24 Aug 2011 22:31:37 +0000 (22:31 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 24 Aug 2011 22:31:37 +0000 (22:31 +0000)
commit5fbe5e783ee0c5ae27c17490a752d7e603e84ed2
tree3b0249c8a909dd3d5bd28c461f317317946655d3
parent070260cb29ca9024d4fa1d3aabd6c8320b747f5e
Some autoconf tests use module level inline asm to test compiler's handling of
.cfi_startproc. e.g. libffi:

 $ cat confopt.c
asm (".cfi_startproc\n\t.cfi_endproc");

int main () { return 0; }

Teach MC / dwarf emission to handle these cfi directives which essentially
create an empty frame.

rdar://10017184

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138504 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCDwarf.cpp
lib/MC/MCStreamer.cpp
test/MC/MachO/debug_frame.s