summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCWinCOFFStreamer.cpp
diff options
context:
space:
mode:
authorAdrian McCarthy <amccarth@google.com>2018-01-08 17:12:01 +0000
committerAdrian McCarthy <amccarth@google.com>2018-01-08 17:12:01 +0000
commitce63a925cc2172b7119a65ce209c0435beba8a9a (patch)
treedb153807edc5a6b1e7c9ceff34a78f720f0e229c /llvm/lib/MC/MCWinCOFFStreamer.cpp
parenta734d409c6fda2b9a0b53304867ce95f99987da4 (diff)
downloadbcm5719-llvm-ce63a925cc2172b7119a65ce209c0435beba8a9a.tar.gz
bcm5719-llvm-ce63a925cc2172b7119a65ce209c0435beba8a9a.zip
Revert "Emit Function IDs table for Control Flow Guard"
The new test fails on the Hexagon bot. Reverting while I investigate. This reverts https://reviews.llvm.org/rL322005 This reverts commit b7e0026b4385180c378edc658ec91a39566f2942. llvm-svn: 322008
Diffstat (limited to 'llvm/lib/MC/MCWinCOFFStreamer.cpp')
-rw-r--r--llvm/lib/MC/MCWinCOFFStreamer.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/llvm/lib/MC/MCWinCOFFStreamer.cpp b/llvm/lib/MC/MCWinCOFFStreamer.cpp
index 1f0b64dae73..c2583d95c5e 100644
--- a/llvm/lib/MC/MCWinCOFFStreamer.cpp
+++ b/llvm/lib/MC/MCWinCOFFStreamer.cpp
@@ -193,17 +193,6 @@ void MCWinCOFFStreamer::EmitCOFFSafeSEH(MCSymbol const *Symbol) {
<< COFF::SCT_COMPLEX_TYPE_SHIFT);
}
-void MCWinCOFFStreamer::EmitCOFFSymbolIndex(MCSymbol const *Symbol) {
- MCSection *Sec = getCurrentSectionOnly();
- getAssembler().registerSection(*Sec);
- if (Sec->getAlignment() < 4)
- Sec->setAlignment(4);
-
- new MCSymbolIdFragment(Symbol, getCurrentSectionOnly());
-
- getAssembler().registerSymbol(*Symbol);
-}
-
void MCWinCOFFStreamer::EmitCOFFSectionIndex(const MCSymbol *Symbol) {
visitUsedSymbol(*Symbol);
MCDataFragment *DF = getOrCreateDataFragment();
OpenPOWER on IntegriCloud