================ @@ -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:
The original code here is weird, not sure if there is a better way to handle it (create a label that doesn't appear in the text output)? I made this change since we're now using these labels to index into a map, so I need each label to be unique. 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