summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5e5c306)
raw | patch | inline | side by side (parent: 5e5c306)
author | David Majnemer <david.majnemer@gmail.com> | |
Sun, 25 Aug 2013 09:18:19 +0000 (09:18 +0000) | ||
committer | David Majnemer <david.majnemer@gmail.com> | |
Sun, 25 Aug 2013 09:18:19 +0000 (09:18 +0000) |
We currently emit labels with the prefix Lllvm$workaround$fake$stub$ if
the target's MCAsmInfo has getLinkOnceDirective() mapped to something
interesting. This was apparently a work around introduced in r31033 for
binutils that we don't need anymore.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189187 91177308-0d34-0410-b5e6-96231b3b80d8
the target's MCAsmInfo has getLinkOnceDirective() mapped to something
interesting. This was apparently a work around introduced in r31033 for
binutils that we don't need anymore.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189187 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/AsmPrinter.cpp | patch | blob | history |
index 33bae711f9d4fa45225e30afe8dbbcbebe1f6942..a427c269ce90ea2115c4c2821991fa30b10413a8 100644 (file)
OutStreamer.EmitLabel(DeadBlockSyms[i]);
}
- // Add some workaround for linkonce linkage on Cygwin\MinGW.
- if (MAI->getLinkOnceDirective() != 0 &&
- (F->hasLinkOnceLinkage() || F->hasWeakLinkage())) {
- // FIXME: What is this?
- MCSymbol *FakeStub =
- OutContext.GetOrCreateSymbol(Twine("Lllvm$workaround$fake$stub$")+
- CurrentFnSym->getName());
- OutStreamer.EmitLabel(FakeStub);
- }
-
// Emit pre-function debug and/or EH information.
if (DE) {
NamedRegionTimer T(EHTimerName, DWARFGroupName, TimePassesIsEnabled);