[PATCH] D100797: Reset NextFnNum in MachineModuleInfo::initialize

Daniel Sanders via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 19 15:52:00 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG76b0ea7f2d5c: Reset NextFnNum in MachineModuleInfo::initialize (authored by rtereshin, committed by dsanders).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100797/new/

https://reviews.llvm.org/D100797

Files:
  llvm/lib/CodeGen/MachineModuleInfo.cpp


Index: llvm/lib/CodeGen/MachineModuleInfo.cpp
===================================================================
--- llvm/lib/CodeGen/MachineModuleInfo.cpp
+++ llvm/lib/CodeGen/MachineModuleInfo.cpp
@@ -196,6 +196,7 @@
 void MachineModuleInfo::initialize() {
   ObjFileMMI = nullptr;
   CurCallSite = 0;
+  NextFnNum = 0;
   UsesMSVCFloatingPoint = UsesMorestackAddr = false;
   HasSplitStack = HasNosplitStack = false;
   AddrLabelSymbols = nullptr;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100797.338659.patch
Type: text/x-patch
Size: 452 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210419/ae0c67dd/attachment.bin>


More information about the llvm-commits mailing list