fix a minor fixme. When building with SL and later tools, the ".eh" symbols

don't need to be exported from the .o files.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78892 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2009-08-13 05:30:22 +00:00
parent 7c4efa6808
commit b2d3169d96
10 changed files with 32 additions and 28 deletions

View File

@ -23,10 +23,9 @@ using namespace llvm;
static const TargetAsmInfo *createTargetAsmInfo(const Target &T,
const StringRef &TT) {
Triple TheTriple(TT);
bool isPPC64 = TheTriple.getArch() == Triple::ppc64;
if (TheTriple.getOS() == Triple::Darwin)
return new PPCDarwinTargetAsmInfo(isPPC64);
return new PPCLinuxTargetAsmInfo(isPPC64);
return new PPCDarwinTargetAsmInfo(TheTriple);
return new PPCLinuxTargetAsmInfo(TheTriple);
}