Add FreeBSD support to the Asan symbolization script

Differential Revision: http://reviews.llvm.org/D4560

llvm-svn: 213370
This commit is contained in:
Viktor Kutuzov 2014-07-18 12:07:00 +00:00
parent 0fc933d6b8
commit 5f5adb8ed5
1 changed files with 1 additions and 1 deletions

View File

@ -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