[clang] [llvm] Generate `DW_AT_RUST_short_backtrace` attributes for `DISubprogram` nodes (PR #123683)

via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 3 06:56:39 PST 2025


================
@@ -605,6 +605,10 @@ HANDLE_DW_AT(0x3b28, BORLAND_Delphi_ABI, 0, BORLAND)
 HANDLE_DW_AT(0x3b29, BORLAND_Delphi_return, 0, BORLAND)
 HANDLE_DW_AT(0x3b30, BORLAND_Delphi_frameptr, 0, BORLAND)
 HANDLE_DW_AT(0x3b31, BORLAND_closure, 0, BORLAND)
+
+// Rust extensions.
+HANDLE_DW_AT(0x3c00, RUST_short_backtrace, 0, RUST)
----------------
antoyo wrote:

I don't have much of an opinion here, so choose whatever you think makes more sense overall.

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


More information about the cfe-commits mailing list