diff options
| author | Anton Korobeynikov <asl@math.spbu.ru> | 2008-08-08 18:23:25 +0000 |
|---|---|---|
| committer | Anton Korobeynikov <asl@math.spbu.ru> | 2008-08-08 18:23:25 +0000 |
| commit | 5b5d8bcd880ec9420afeb26dc0421beb24ab610a (patch) | |
| tree | 052163e9461ae5b071e57c94084c41db99bb66c1 /llvm/lib/Target/PowerPC/PPCTargetAsmInfo.h | |
| parent | 7c20ede085a73e6e25dc5212beb06cc7ec633c3a (diff) | |
| download | bcm5719-llvm-5b5d8bcd880ec9420afeb26dc0421beb24ab610a.tar.gz bcm5719-llvm-5b5d8bcd880ec9420afeb26dc0421beb24ab610a.zip | |
Switch PPC/Darwin to new section handling stuff
llvm-svn: 54537
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCTargetAsmInfo.h')
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPCTargetAsmInfo.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.h b/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.h index cca7bdb3e26..0d18b7c9e21 100644 --- a/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.h +++ b/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.h @@ -15,17 +15,19 @@ #define PPCTARGETASMINFO_H #include "llvm/Target/TargetAsmInfo.h" +#include "llvm/Target/DarwinTargetAsmInfo.h" namespace llvm { // Forward declaration. class PPCTargetMachine; - - struct PPCTargetAsmInfo : public TargetAsmInfo { + + struct PPCTargetAsmInfo : public virtual TargetAsmInfo { explicit PPCTargetAsmInfo(const PPCTargetMachine &TM); }; - struct PPCDarwinTargetAsmInfo : public PPCTargetAsmInfo { + struct PPCDarwinTargetAsmInfo : public PPCTargetAsmInfo, + public DarwinTargetAsmInfo{ explicit PPCDarwinTargetAsmInfo(const PPCTargetMachine &TM); virtual unsigned PreferredEHDataFormat(DwarfEncoding::Target Reason, bool Global) const; |

