aboutsummaryrefslogtreecommitdiff
path: root/test/stack_traces.zig
diff options
context:
space:
mode:
authorMichael Dusan <michael.dusan@gmail.com>2021-04-12 06:55:12 -0400
committerMichael Dusan <michael.dusan@gmail.com>2021-04-12 06:55:12 -0400
commit0fa1a2cb732c85a59e72a720f19bc0d69ac9b08c (patch)
tree4b5857db65268b6e3a41fc436082da7b100647b6 /test/stack_traces.zig
parent746f65f8b3ce11d67d8fd392aea8bc05a24adae6 (diff)
downloadzig-0fa1a2cb732c85a59e72a720f19bc0d69ac9b08c.tar.gz
zig-0fa1a2cb732c85a59e72a720f19bc0d69ac9b08c.zip
Revert "dwarf: fix LineNumberProgram check"
- needed/needs to go through review process This reverts commit 746f65f8b3ce11d67d8fd392aea8bc05a24adae6.
Diffstat (limited to 'test/stack_traces.zig')
-rw-r--r--test/stack_traces.zig15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/stack_traces.zig b/test/stack_traces.zig
index cb2cf94b70..48b3963ce3 100644
--- a/test/stack_traces.zig
+++ b/test/stack_traces.zig
@@ -20,6 +20,11 @@ pub fn addCases(cases: *tests.StackTracesContext) void {
,
},
.ReleaseSafe = .{
+ .exclude = struct {
+ pub fn exclude() bool {
+ return if (std.builtin.object_format == .elf) true else false;
+ }
+ },
.exclude_os = .{
.windows, // segfault
},
@@ -69,6 +74,11 @@ pub fn addCases(cases: *tests.StackTracesContext) void {
,
},
.ReleaseSafe = .{
+ .exclude = struct {
+ pub fn exclude() bool {
+ return if (std.builtin.object_format == .elf) true else false;
+ }
+ },
.exclude_os = .{
.windows, // segfault
},
@@ -135,6 +145,11 @@ pub fn addCases(cases: *tests.StackTracesContext) void {
,
},
.ReleaseSafe = .{
+ .exclude = struct {
+ pub fn exclude() bool {
+ return if (std.builtin.object_format == .elf) true else false;
+ }
+ },
.exclude_os = .{
.windows, // segfault
},