We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
DW_TAG_*
1 parent 1b62645 commit f50721eCopy full SHA for f50721e
compiler/rustc_codegen_llvm/src/debuginfo/mod.rs
@@ -48,6 +48,10 @@ mod utils;
48
use self::create_scope_map::compute_mir_scopes;
49
pub(crate) use self::metadata::build_global_var_di_node;
50
51
+// FIXME(Zalathar): These `DW_TAG_*` constants are fake values that were
52
+// removed from LLVM in 2015, and are only used by our own `RustWrapper.cpp`
53
+// to decide which C++ API to call. Instead, we should just have two separate
54
+// FFI functions and choose the correct one on the Rust side.
55
#[allow(non_upper_case_globals)]
56
const DW_TAG_auto_variable: c_uint = 0x100;
57
0 commit comments