It turned out that we failed to emit proper symbol stubs on non-x86/darwin for ages...
authorAnton Korobeynikov <asl@math.spbu.ru>
Sun, 21 Feb 2010 20:28:15 +0000 (20:28 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Sun, 21 Feb 2010 20:28:15 +0000 (20:28 +0000)
commit293d592bf9cff6c3679998dde32f3cfd3cd53bc4
treee6e75df25a11b3b6fe5dfcaa0259b97c573e4283
parentbe94ffcf129f36c5515d807bb39fc3e5a02269f1
It turned out that we failed to emit proper symbol stubs on non-x86/darwin for ages (we emitted a reference to a stub, but no stub was emitted). The code inside x86-32/macho target objfile lowering should actually be the generic one - move it there.

This (I really, really hope) should fix EH issues on ppc/darwin
and arm/darwin.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96755 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86TargetObjectFile.cpp
lib/Target/X86/X86TargetObjectFile.h