[PATCH] Support for separate debug info files in asan symbolize script

Ed Maste emaste at freebsd.org
Mon Aug 18 11:31:35 PDT 2014


I think the functionality is generally useful, but it's the responsibility of the individual tools (binutils and LLVM equivalents) to handle standalone debug, not every script or tool that invokes them.

================
Comment at: lib/asan/scripts/asan_symbolize.py:596
@@ -439,1 +595,3 @@
     logfile = sys.stdin
+  if os.uname()[0] == 'Linux':
+    debug_info_handler = DebugInfoHandler(binary_name_filter)
----------------
Standalone debug works the same way on FreeBSD too, so `== 'Linux'` is too restrictive.

http://reviews.llvm.org/D4902






More information about the llvm-commits mailing list