Skip to content

Commit 2d82f91

Browse files
committed
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
1 parent 69b3cbe commit 2d82f91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/asan/scripts/asan_symbolize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def BreakpadSymbolizerFactory(binary):
271271
def SystemSymbolizerFactory(system, addr, binary):
272272
if system == 'Darwin':
273273
return DarwinSymbolizer(addr, binary)
274-
elif system == 'Linux':
274+
elif system == 'Linux' or system == 'FreeBSD':
275275
return Addr2LineSymbolizer(binary)
276276

277277

0 commit comments

Comments
 (0)