You're right, that's probably a better approach. However, on OS X, it's quite 
possible your default compiler will not understand -fsanitize=address, and 
running just "./dotest.py" will have the ASan tests fail. I think we should 
have a @requiresAsanCompiler annotation that would detect and skip the test, if 
your compiler (either the default one or the one you set via 
LLDB_TEST_COMPILER) doesn't have ASan. 

Kuba

Sent from my iPhone

> On Oct 13, 2014, at 9:52 AM, Zachary Turner <[email protected]> wrote:
> 
> Are you using the CMake build?  Even this will fail if you have multiple 
> clangs and you want it to choose a specific one.  I would suggest setting the 
> LLDB_TEST_COMPILER CMake variable.
> 
>> On Fri, Oct 10, 2014 at 8:19 PM, Kuba Brecka <[email protected]> wrote:
>> Some LLDB build scripts seem to put the built Clang into different paths, 
>> let's add a couple more paths where to look for Clang. Currently used only 
>> by LLDB's ASan tests.
>> 
>> http://reviews.llvm.org/D5740
>> 
>> Files:
>>   test/lldbtest.py
>> 
>> _______________________________________________
>> lldb-commits mailing list
>> [email protected]
>> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits
> 
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to