mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
As PR1085 was fixed, back out workaround
llvm-svn: 32969
This commit is contained in:
parent
d4c44b723c
commit
874aaaa34a
@ -80,12 +80,7 @@ bool X86ATTAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
|
||||
|
||||
X86SharedAsmPrinter::decorateName(CurrentFnName, F);
|
||||
|
||||
// Change GNU linkonce to LLVM linkonce name
|
||||
if (F->hasSection() &&
|
||||
(F->getSection().find(".gnu.linkonce.t") != std::string::npos))
|
||||
SwitchToTextSection(getSectionForFunction(*F).c_str(), NULL);
|
||||
else
|
||||
SwitchToTextSection(getSectionForFunction(*F).c_str(), F);
|
||||
SwitchToTextSection(getSectionForFunction(*F).c_str(), F);
|
||||
|
||||
switch (F->getLinkage()) {
|
||||
default: assert(0 && "Unknown linkage type!");
|
||||
|
Loading…
Reference in New Issue
Block a user