aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCStreamer.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2024-05-16 09:49:34 +0900
committerNikita Popov <npopov@redhat.com>2024-05-16 09:56:07 +0900
commitfa750f09be6966de7423ddce1af7d1eaf817182c (patch)
treeaedfa9ad041e3bd63fd6d018f6b869ed2c85c58f /llvm/lib/MC/MCStreamer.cpp
parent26fabdded34f8cea490060a70188a07ad6b76b8b (diff)
downloadllvm-fa750f09be6966de7423ddce1af7d1eaf817182c.zip
llvm-fa750f09be6966de7423ddce1af7d1eaf817182c.tar.gz
llvm-fa750f09be6966de7423ddce1af7d1eaf817182c.tar.bz2
Revert "[MC] Remove UseAssemblerInfoForParsing"
This reverts commit 03c53c69a367008da689f0d2940e2197eb4a955c. This causes very large compile-time regressions in some cases, e.g. sqlite3 at O0 regresses by 5%.
Diffstat (limited to 'llvm/lib/MC/MCStreamer.cpp')
-rw-r--r--llvm/lib/MC/MCStreamer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCStreamer.cpp b/llvm/lib/MC/MCStreamer.cpp
index 199d865..176d55a 100644
--- a/llvm/lib/MC/MCStreamer.cpp
+++ b/llvm/lib/MC/MCStreamer.cpp
@@ -93,7 +93,7 @@ void MCTargetStreamer::emitAssignment(MCSymbol *Symbol, const MCExpr *Value) {}
MCStreamer::MCStreamer(MCContext &Ctx)
: Context(Ctx), CurrentWinFrameInfo(nullptr),
- CurrentProcWinFrameInfoStartIndex(0) {
+ CurrentProcWinFrameInfoStartIndex(0), UseAssemblerInfoForParsing(false) {
SectionStack.push_back(std::pair<MCSectionSubPair, MCSectionSubPair>());
}