aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-12-28 19:05:12 +0000
committerReid Kleckner <rnk@google.com>2016-12-28 19:05:12 +0000
commit92647369fc530155adae80adf86f422cae0cdc93 (patch)
treebf171c2a6341483dddcb1abc042591f6431e98fb /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parenta587ca51d5b24ca0be7c469818d0d5a54e13ac61 (diff)
downloadllvm-92647369fc530155adae80adf86f422cae0cdc93.zip
llvm-92647369fc530155adae80adf86f422cae0cdc93.tar.gz
llvm-92647369fc530155adae80adf86f422cae0cdc93.tar.bz2
[WinEH] Don't assume endFunction is called while in .text
Jump table emission can switch to .rdata before WinException::endFunction gets called. Just remember the appropriate text section we started in and reset back to it when we end the function. We were already switching sections back from .xdata anyway. Fixes the first problem in PR31488, so that now COFF switch tables can live in .rdata if we want them to. llvm-svn: 290678
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions