Put jump tables in distinct sections if -ffunction-sections is used.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 26 Feb 2015 23:55:11 +0000 (23:55 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 26 Feb 2015 23:55:11 +0000 (23:55 +0000)
commitfc0ad8d28d33571d87ffae6953106365e084c552
tree5faa697a4cd2e4471fd27d6ccdf461cf2fe73f6c
parente508109037e036b9f832dc80f43ae1c59370de1a
Put jump tables in distinct sections if -ffunction-sections is used.

A small regression in r230411 was that we were basing the decision on
-fdata-sections.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230707 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
test/CodeGen/X86/global-sections.ll