summaryrefslogtreecommitdiff
path: root/addr2line.h
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-20 06:35:25 (GMT)
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-20 06:35:25 (GMT)
commit595056135f2b57fc4c018e561d6ad8d59b06b26b (patch)
treed42d7d684f1d43e1a7334d7e8eaaaf7d3ab13af7 /addr2line.h
parentfe735bd30fa6e2d02c9c8fbe4babe4e88f71bc3a (diff)
Support Mach-O on backtrace with DWARF
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'addr2line.h')
-rw-r--r--addr2line.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/addr2line.h b/addr2line.h
index d99f010..4f6cf17 100644
--- a/addr2line.h
+++ b/addr2line.h
@@ -11,7 +11,7 @@
#ifndef RUBY_ADDR2LINE_H
#define RUBY_ADDR2LINE_H
-#ifdef USE_ELF
+#if (defined(USE_ELF) || defined(HAVE_MACH_O_LOADER_H))
void
rb_dump_backtrace_with_lines(int num_traces, void **traces);