[PATCH] D28011: Emit .cfi_sections before the first .cfi_startproc
Joerg Sonnenberger via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 20 18:02:50 PST 2016
joerg created this revision.
joerg added a reviewer: majnemer.
joerg added a subscriber: llvm-commits.
GNU as rejects input where .cfi_sections is used after .cfi_startproc, if the new section differs from the old. Adjust our output to always emit .cfi_sections before the first .cfi_startproc to minimize necessary code.
https://reviews.llvm.org/D28011
Files:
lib/CodeGen/AsmPrinter/ARMException.cpp
lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
lib/CodeGen/AsmPrinter/DwarfException.h
test/CodeGen/ARM/early-cfi-sections.ll
test/CodeGen/ARM/no-cfi.ll
test/CodeGen/X86/early-cfi-sections.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28011.82188.patch
Type: text/x-patch
Size: 8883 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161221/b3e70dab/attachment.bin>
More information about the llvm-commits
mailing list