From 9aafa9fc15228e69393782026930fbe2ab403dac Mon Sep 17 00:00:00 2001 From: Mitch Phillips <31459023+hctim@users.noreply.github.com> Date: Thu, 10 Dec 2020 15:42:02 -0800 Subject: [PATCH] Revert "[NFC] Fix a gcc build break by not using an initializer." This reverts commit 1dc0a8521f616af5897327e4c03098f9312e9c59. Reason: Dependency of patch that broke the ASan buildbots: http://lab.llvm.org:8011/#/builders/5/builds/2269 --- llvm/lib/CodeGen/AsmPrinter/PseudoProbePrinter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/CodeGen/AsmPrinter/PseudoProbePrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/PseudoProbePrinter.cpp index 5c3952b..69adc77 100644 --- a/llvm/lib/CodeGen/AsmPrinter/PseudoProbePrinter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/PseudoProbePrinter.cpp @@ -62,7 +62,7 @@ void PseudoProbeHandler::emitPseudoProbe(uint64_t Guid, uint64_t Index, uint64_t CallerGuid = Names[Name]; uint64_t CallerProbeId = PseudoProbeDwarfDiscriminator::extractProbeIndex( InlinedAt->getDiscriminator()); - ReversedInlineStack.emplace_back(CallerGuid, CallerProbeId); + ReversedInlineStack.push_back({CallerGuid, CallerProbeId}); InlinedAt = InlinedAt->getInlinedAt(); } -- 2.7.4