llvm.org GIT mirror llvm / 60246a9
Remove unnecessary argument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130343 91177308-0d34-0410-b5e6-96231b3b80d8 Rafael Espindola 9 years ago
7 changed file(s) with 13 addition(s) and 14 deletion(s). Raw diff Collapse all Expand all
8787
8888 // getCFIPersonalitySymbol - The symbol that gets passed to .cfi_personality.
8989 virtual MCSymbol *
90 getCFIPersonalitySymbol(const GlobalValue *GV, unsigned Encoding,
91 Mangler *Mang, MachineModuleInfo *MMI) const;
90 getCFIPersonalitySymbol(const GlobalValue *GV, Mangler *Mang,
91 MachineModuleInfo *MMI) const;
9292 };
9393
9494
182182
183183 // getCFIPersonalitySymbol - The symbol that gets passed to .cfi_personality.
184184 virtual MCSymbol *
185 getCFIPersonalitySymbol(const GlobalValue *GV, unsigned Encoding,
186 Mangler *Mang, MachineModuleInfo *MMI) const;
185 getCFIPersonalitySymbol(const GlobalValue *GV, Mangler *Mang,
186 MachineModuleInfo *MMI) const;
187187
188188 virtual unsigned getPersonalityEncoding() const;
189189 virtual unsigned getLSDAEncoding() const;
222222
223223 // getCFIPersonalitySymbol - The symbol that gets passed to .cfi_personality.
224224 virtual MCSymbol *
225 getCFIPersonalitySymbol(const GlobalValue *GV, unsigned Encoding,
226 Mangler *Mang, MachineModuleInfo *MMI) const;
225 getCFIPersonalitySymbol(const GlobalValue *GV, Mangler *Mang,
226 MachineModuleInfo *MMI) const;
227227
228228 ///
229229 const MCExpr *
108108 if (PerEncoding == dwarf::DW_EH_PE_omit || !Per)
109109 return;
110110
111 const MCSymbol *Sym = TLOF.getCFIPersonalitySymbol(Per, PerEncoding,
112 Asm->Mang, MMI);
111 const MCSymbol *Sym = TLOF.getCFIPersonalitySymbol(Per, Asm->Mang, MMI);
113112 Asm->OutStreamer.EmitCFIPersonality(Sym, PerEncoding);
114113 }
115114
178178
179179 MCSymbol *
180180 TargetLoweringObjectFileELF::getCFIPersonalitySymbol(const GlobalValue *GV,
181 unsigned Encoding,
182181 Mangler *Mang,
183182 MachineModuleInfo *MMI) const {
183 unsigned Encoding = getPersonalityEncoding();
184184 switch (Encoding & 0x70) {
185185 default:
186186 report_fatal_error("We do not support this DWARF encoding yet!");
848848 }
849849
850850 MCSymbol *TargetLoweringObjectFileMachO::
851 getCFIPersonalitySymbol(const GlobalValue *GV, unsigned Encoding, Mangler *Mang,
851 getCFIPersonalitySymbol(const GlobalValue *GV, Mangler *Mang,
852852 MachineModuleInfo *MMI) const {
853853 // The mach-o version of this method defaults to returning a stub reference.
854854 MachineModuleInfoMachO &MachOMMI =
120120 }
121121
122122 MCSymbol *TargetLoweringObjectFile::
123 getCFIPersonalitySymbol(const GlobalValue *GV, unsigned Encoding, Mangler *Mang,
123 getCFIPersonalitySymbol(const GlobalValue *GV, Mangler *Mang,
124124 MachineModuleInfo *MMI) const {
125125 return Mang->getSymbol(GV);
126126 }
3838 }
3939
4040 MCSymbol *X8664_MachoTargetObjectFile::
41 getCFIPersonalitySymbol(const GlobalValue *GV, unsigned Encoding, Mangler *Mang,
41 getCFIPersonalitySymbol(const GlobalValue *GV, Mangler *Mang,
4242 MachineModuleInfo *MMI) const {
4343 return Mang->getSymbol(GV);
4444 }
2828 // getCFIPersonalitySymbol - The symbol that gets passed to
2929 // .cfi_personality.
3030 virtual MCSymbol *
31 getCFIPersonalitySymbol(const GlobalValue *GV, unsigned Encoding,
32 Mangler *Mang, MachineModuleInfo *MMI) const;
31 getCFIPersonalitySymbol(const GlobalValue *GV, Mangler *Mang,
32 MachineModuleInfo *MMI) const;
3333 };
3434
3535 class X8632_ELFTargetObjectFile : public TargetLoweringObjectFileELF {