================
@@ -500,7 +500,8 @@ MCSymbol *MCStreamer::emitLineTableLabel() {
 MCSymbol *MCStreamer::emitCFILabel() {
   // Return a dummy non-null value so that label fields appear filled in when
   // generating textual assembly.
-  return (MCSymbol *)1;
+  static size_t DummyLabelValue = 0;
----------------
dpaoliello wrote:

Ok, I removed the map and replaced with a vector, then changed `CurrentEpilog` 
to point to the `Epilog` object itself (since it was primarily used to index 
into the map).

https://github.com/llvm/llvm-project/pull/129142
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to