We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98eaaed commit a64387bCopy full SHA for a64387b
src/debuginfo/mod.rs
@@ -221,6 +221,10 @@ impl DebugContext {
221
entry.set(gimli::DW_AT_decl_file, AttributeValue::FileIndex(Some(file_id)));
222
entry.set(gimli::DW_AT_decl_line, AttributeValue::Udata(line));
223
224
+ if tcx.is_reachable_non_generic(instance.def_id()) {
225
+ entry.set(gimli::DW_AT_external, AttributeValue::FlagPresent);
226
+ }
227
+
228
// FIXME set DW_AT_external as appropriate
229
230
FunctionDebugContext {
0 commit comments