[PATCH] D71629: [SystemZ] Recognize mrecord-mcount in backend

Ulrich Weigand via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 17 23:49:22 PST 2019


uweigand added inline comments.


================
Comment at: llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp:579
+    OutStreamer->EmitIntValue(0x1b, 8);
+    OutStreamer->SwitchSection(OutStreamer->getPreviousSection().first);
+  }
----------------
It's probably better to use a OutStreamer->PushSection() / OutStreamer->PopSection() pair here.


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

https://reviews.llvm.org/D71629





More information about the llvm-commits mailing list