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

via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 29 11:25:50 PDT 2024


================
@@ -267,6 +267,25 @@ void MCStreamer::emitDwarfLocDirective(unsigned FileNo, unsigned Line,
                                   Discriminator);
 }
 
+void MCStreamer::emitDwarfLocLabelDirective(SMLoc Loc, StringRef Name) {
+  auto &ctx = getContext();
+
----------------
alx32 wrote:

Good point - Moved those to `MCDwarf.cpp`

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


More information about the llvm-commits mailing list