mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
Fix bug 3202.
The EH_frame and .eh symbols are now private, except for darwin9 and earlier. The patch also fixes the definition of PrivateGlobalPrefix on pcc linux. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61242 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -239,7 +239,8 @@ std::string AsmPrinter::getCurrentFunctionEHName(const MachineFunction *MF) {
|
||||
std::string Name = MF->getFunction()->getName();
|
||||
if (Name.empty())
|
||||
Name = Mang->getValueName(MF->getFunction());
|
||||
return Mang->makeNameProper(Name + ".eh", TAI->getGlobalPrefix());
|
||||
return Mang->makeNameProper(TAI->getEHGlobalPrefix() +
|
||||
Name + ".eh", TAI->getGlobalPrefix());
|
||||
}
|
||||
|
||||
void AsmPrinter::SetupMachineFunction(MachineFunction &MF) {
|
||||
|
||||
Reference in New Issue
Block a user