diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-07-17 20:46:40 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-07-17 20:46:40 +0000 |
| commit | e2cf37b88c089a71727b3ecd466856f0cd638813 (patch) | |
| tree | 5519e3da8fc3474c49728b80a86d5c9f76f57db2 /lib/Target/TargetAsmInfo.cpp | |
| parent | 092a9dda2d13918a6410db26f41c7b5aa97ff989 (diff) | |
Untangle a snarl that I discovered when updating the mangler,
starting in getCurrentFunctionEHName. Among other problems,
we would try to privative a "foo.eh" label, but end up emitting
the label as _Lfoo.eh instead of L_foo.eh on darwin. This is really
bad, and the linker has always tolerated these labels existing.
For now, just emit them as _foo.eh.
This patch also fixes problems with ".eh" labels on unnamed
functions and eliminates two strangely defined TargetAsmInfo
hooks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76231 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetAsmInfo.cpp')
| -rw-r--r-- | lib/Target/TargetAsmInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/TargetAsmInfo.cpp b/lib/Target/TargetAsmInfo.cpp index 8bc436819a..5b7ddbfa4a 100644 --- a/lib/Target/TargetAsmInfo.cpp +++ b/lib/Target/TargetAsmInfo.cpp @@ -106,7 +106,7 @@ TargetAsmInfo::TargetAsmInfo(const TargetMachine &tm) SupportsExceptionHandling = false; DwarfRequiresFrameSection = true; DwarfUsesInlineInfoSection = false; - NonLocalEHFrameLabel = false; + Is_EHSymbolPrivate = true; GlobalEHDirective = 0; SupportsWeakOmittedEHFrame = true; DwarfSectionOffsetDirective = 0; |
