[llvm] [MC] Add .loc_label instruction (PR #99710)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 18 17:37:03 PDT 2024


================
@@ -1767,6 +1770,12 @@ void MCAsmStreamer::emitDwarfLocDirective(unsigned FileNo, unsigned Line,
                                           Discriminator, FileName);
 }
 
+void MCAsmStreamer::emitDwarfLocLabelDirective(SMLoc Loc, StringRef Name) {
+  MCStreamer::emitDwarfLocLabelDirective(Loc, Name);
+  OS << "\t.loc_label " << Name;
----------------
MaskRay wrote:

".loc_label\t"

https://github.com/llvm/llvm-project/pull/99710


More information about the llvm-commits mailing list