summaryrefslogtreecommitdiff
path: root/lib/asan/scripts/asan_symbolize.py
diff options
context:
space:
mode:
authorViktor Kutuzov <vkutuzov@accesssoftek.com>2014-07-18 12:07:00 +0000
committerViktor Kutuzov <vkutuzov@accesssoftek.com>2014-07-18 12:07:00 +0000
commit508dfd5228cc19975bc2937991cfd6a13a59c3b3 (patch)
tree075b53d0b9703a22d98590d06bbee2054d1a84f9 /lib/asan/scripts/asan_symbolize.py
parentd8cb234bccbf905e152df03b54c9fca6fc35a1e9 (diff)
downloadcompiler-rt-508dfd5228cc19975bc2937991cfd6a13a59c3b3.tar.gz
Add FreeBSD support to the Asan symbolization script
Differential Revision: http://reviews.llvm.org/D4560 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@213370 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/scripts/asan_symbolize.py')
-rwxr-xr-xlib/asan/scripts/asan_symbolize.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asan/scripts/asan_symbolize.py b/lib/asan/scripts/asan_symbolize.py
index 6219c0e8b..8ba6442dc 100755
--- a/lib/asan/scripts/asan_symbolize.py
+++ b/lib/asan/scripts/asan_symbolize.py
@@ -328,7 +328,7 @@ class SymbolizationLoop(object):
# E.g. in Chrome several binaries may share a single .dSYM.
self.binary_name_filter = binary_name_filter
self.system = os.uname()[0]
- if self.system not in ['Linux', 'Darwin']:
+ if self.system not in ['Linux', 'Darwin', 'FreeBSD']:
raise Exception('Unknown system')
self.llvm_symbolizer = None
self.frame_no = 0