1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

resolve a fixme.

llvm-svn: 100346
This commit is contained in:
Chris Lattner 2010-04-04 19:28:59 +00:00
parent c2b0a02be0
commit 779e051357
2 changed files with 3 additions and 8 deletions

View File

@ -1350,12 +1350,7 @@ void AsmPrinter::printOffset(int64_t Offset, raw_ostream &OS) const {
/// GetTempSymbol - Return the MCSymbol corresponding to the assembler
/// temporary label with the specified stem and unique ID.
MCSymbol *AsmPrinter::GetTempSymbol(StringRef Name, unsigned ID) const {
// FIXME: REMOVE this. However, there is stuff in EH that passes counters in
// here that can be zero.
//assert(ID && "Should use GetTempSymbol if no ID");
if (ID == 0) return GetTempSymbol(Name);
return OutContext.GetOrCreateSymbol(Twine(MAI->getPrivateGlobalPrefix())+
return OutContext.GetOrCreateSymbol(Twine(MAI->getPrivateGlobalPrefix()) +
Name + Twine(ID));
}

View File

@ -38,10 +38,10 @@ declare void @__gxx_personality_v0()
declare void @__cxa_end_catch()
; X64: Leh_frame_common_begin:
; X64: Leh_frame_common_begin0:
; X64: .long ___gxx_personality_v0@GOTPCREL+4
; X32: Leh_frame_common_begin:
; X32: Leh_frame_common_begin0:
; X32: .long L___gxx_personality_v0$non_lazy_ptr-
; ....