Fix Windows unwind info for functions in sections other than .text
authorReid Kleckner <reid@kleckner.net>
Mon, 22 Dec 2014 22:10:08 +0000 (22:10 +0000)
committerReid Kleckner <reid@kleckner.net>
Mon, 22 Dec 2014 22:10:08 +0000 (22:10 +0000)
Previously we assumed the section name had the form .text$foo, which is
what we used to do for inline functions. If the dollar wasn't present,
we'd put unwind data in the .pdata and .xdata sections for the main
.text section, which is incorrect.

Fixes PR22001.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224738 91177308-0d34-0410-b5e6-96231b3b80d8


No differences found