[PATCH] Add FreeBSD support to the Asan symbolization script
Viktor Kutuzov
vkutuzov at accesssoftek.com
Thu Jul 17 06:13:35 PDT 2014
Hi kcc, samsonov,
It's necessary to pass the TestCases/Posix/asan-symbolize-sanity-test.cc test.
http://reviews.llvm.org/D4560
Files:
lib/asan/scripts/asan_symbolize.py
Index: lib/asan/scripts/asan_symbolize.py
===================================================================
--- lib/asan/scripts/asan_symbolize.py
+++ lib/asan/scripts/asan_symbolize.py
@@ -328,7 +328,7 @@
# 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4560.11577.patch
Type: text/x-patch
Size: 560 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140717/f924d771/attachment.bin>
More information about the llvm-commits
mailing list