OSDN Git Service

Put each jump table in an independent section if the function is too.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 12 Feb 2015 17:16:46 +0000 (17:16 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 12 Feb 2015 17:16:46 +0000 (17:16 +0000)
commit8eeedf74d346d6797236544847ebaa45e14d7703
tree700af1198dbbd351f4086d1aaf5fb37313be0865
parenta858be4291963b8aad152c30c55a445f87bfd6df
Put each jump table in an independent section if the function is too.

This allows the linker to GC both, fixing pr22557.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228937 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
include/llvm/Target/TargetLoweringObjectFile.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
lib/Target/TargetLoweringObjectFile.cpp
test/CodeGen/X86/global-sections-comdat.ll
test/CodeGen/X86/global-sections.ll