For the asan_symbolize.py script, use addr2line as the default system

symbolizer on FreeBSD too.  This allows the asan-symbolize-bad-path.cc
test to succeed.

llvm-svn: 256578
This commit is contained in:
Dimitry Andric 2015-12-29 21:36:34 +00:00
parent 69b3cbef43
commit 2d82f915c2
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ def BreakpadSymbolizerFactory(binary):
def SystemSymbolizerFactory(system, addr, binary):
if system == 'Darwin':
return DarwinSymbolizer(addr, binary)
elif system == 'Linux':
elif system == 'Linux' or system == 'FreeBSD':
return Addr2LineSymbolizer(binary)