[PATCH] Add FreeBSD support to the Asan symbolization script

Viktor Kutuzov vkutuzov at accesssoftek.com
Fri Jul 18 05:15:36 PDT 2014


Closed by commit rL213370 (authored by vkutuzov).

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D4560

Files:
  compiler-rt/trunk/lib/asan/scripts/asan_symbolize.py

Index: compiler-rt/trunk/lib/asan/scripts/asan_symbolize.py
===================================================================
--- compiler-rt/trunk/lib/asan/scripts/asan_symbolize.py
+++ compiler-rt/trunk/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.11638.patch
Type: text/x-patch
Size: 614 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140718/71075479/attachment.bin>


More information about the llvm-commits mailing list