commit | 0c78583bf68e26f48622b20f3f9715ac341cec08 | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Wed Mar 11 19:58:37 2015 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Wed Mar 11 19:58:37 2015 +0000 |
tree | 7f0de77e425b4acced7aadc201c668ebf61e06e4 | |
parent | 52f83a9ab3a02b523035044f04702a430570771a [diff] |
Put jump tables in unique sections on COFF. If a function is going in an unique section (because of -ffunction-sections for example), putting a jump table in .rodata will keep .rodata alive and that will keep alive any other function that also has a jump table. Instead, put the jump table in a unique section that is associated with the function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231961 91177308-0d34-0410-b5e6-96231b3b80d8