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

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 22 14:13:48 PDT 2024


dwblaikie wrote:

You could emit the label difference into some other attribute in assembly rather than in an instruction (guess that's not necessarily better - it'll necessarily be a bogus attribute/value combination I guess) - or I guess just into its own section and dump the bytes of the section raw... 

Guess you could use an unknown/bogus attribute number, I think it'd still dump OK & we'd just print a bogus attribute number in the attribute name somehow... - mixed feelings about what the best way to do that is.



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


More information about the llvm-commits mailing list