This test works when LLDB builds it:

   % ./dotest.py functionalities/asan
  LLDB library dir: /Volumes/work/gclayton/Documents/src/lldb/trunk/build/Debug
  lldb-330.99.0
  The 'lldb-mi' executable cannot be located.  Some of the tests may not be run 
as a result.
  lldb.pre_flight: None
  lldb.post_flight: None
  
  Session logs for test failures/errors/unexpected successes will go into 
directory '2015-03-03-12_57_29'
  Command invoked: ./dotest.py functionalities/asan
  compilers=['clang']
  
  Configuration: arch=x86_64 compiler=clang
  ----------------------------------------------------------------------
  Collected 4 tests
  
  .=success F=fail E=error s=skipped x=expected-fail u=unexpected-success
  
  AddressSanitizer debugger support is active. Memory error breakpoint has been 
installed and you can now use the 'memory history' command.
  AddressSanitizer debugger support is active. Memory error breakpoint has been 
installed and you can now use the 'memory history' command.
  .AddressSanitizer debugger support is active. Memory error breakpoint has 
been installed and you can now use the 'memory history' command.
  AddressSanitizer debugger support is active. Memory error breakpoint has been 
installed and you can now use the 'memory history' command.
  .AddressSanitizer debugger support is active. Memory error breakpoint has 
been installed and you can now use the 'memory history' command.
  AddressSanitizer debugger support is active. Memory error breakpoint has been 
installed and you can now use the 'memory history' command.
  AddressSanitizer report breakpoint hit. Use 'thread info -s' to get extended 
information about the report.
  .AddressSanitizer debugger support is active. Memory error breakpoint has 
been installed and you can now use the 'memory history' command.
  AddressSanitizer debugger support is active. Memory error breakpoint has been 
installed and you can now use the 'memory history' command.
  AddressSanitizer report breakpoint hit. Use 'thread info -s' to get extended 
information about the report.
  .
  ----------------------------------------------------------------------
  Ran 4 tests in 23.301s
  
  OK

So please fix the test case so it works. It sounds like the search path for the 
libclang_rt.asan_osx_dynamic.dylib isn't being added to the link line. It works 
fine when lldb is built using xcodebuild.


http://reviews.llvm.org/D7958

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/



_______________________________________________
lldb-commits mailing list
lldb-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to