]> granicus.if.org Git - llvm/commit
Print jump tables before exception tables.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 9 Mar 2015 18:29:12 +0000 (18:29 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 9 Mar 2015 18:29:12 +0000 (18:29 +0000)
commitbe886690bd4c770483b3adf4268c0baf3d58cea7
treedad8289ec558814f6e35bd9c3b6d7c28eb4d7f67
parentce9ee4e050b3d2e963075dda4dec4521399d29cc
Print jump tables before exception tables.

In the case where just tables are part of the function section, this produces
more readable assembly by avoiding switching to the eh section and back
to .text.

This would also break with non unique section names, as trying to switch to
a unique section actually creates a new one.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231677 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/ARMException.cpp
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/CodeGen/AsmPrinter/AsmPrinterHandler.h
lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
lib/CodeGen/AsmPrinter/DwarfException.h
test/CodeGen/X86/global-sections.ll