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)
commit4491d0d337a42f34cf5f51a7324ee6e8af8eb5c2
tree7ad16d6cacc036223cf328088a91a8b9d6fa7e7d
parent44949ff3e125dcc4be58e38fc822e24558eb55cc
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.

llvm-svn: 230707
llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
llvm/test/CodeGen/X86/global-sections.ll