Skip to main content
summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-dwarf/tcf/backend/backend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-dwarf/tcf/backend/backend.c b/tests/test-dwarf/tcf/backend/backend.c
index 9cf2a07b..ce30e0b5 100644
--- a/tests/test-dwarf/tcf/backend/backend.c
+++ b/tests/test-dwarf/tcf/backend/backend.c
@@ -415,6 +415,7 @@ static void loc_var_func(void * args, Symbol * sym) {
if (member_class == SYM_CLASS_REFERENCE) {
if (get_symbol_address(children[i], &offs) < 0) {
if (get_symbol_offset(children[i], &offs) < 0) {
+#if 0
int ok = 0;
int err = errno;
unsigned type_flags;
@@ -422,12 +423,11 @@ static void loc_var_func(void * args, Symbol * sym) {
error("get_symbol_flags");
}
if (type_flags & SYM_FLAG_EXTERNAL) ok = 1;
- /*
if (!ok) {
errno = err;
error("get_symbol_offset");
}
- */
+#endif
}
}
}

Back to the top