mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
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:
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user