[ASan] now we don't need llvm_obj_root to access llvm-symbolizer tool
authorAlexey Samsonov <samsonov@google.com>
Tue, 13 Nov 2012 07:55:16 +0000 (07:55 +0000)
committerAlexey Samsonov <samsonov@google.com>
Tue, 13 Nov 2012 07:55:16 +0000 (07:55 +0000)
llvm-svn: 167823

compiler-rt/lib/asan/lit_tests/lit.cfg

index 90cab10..7875281 100644 (file)
@@ -68,9 +68,8 @@ config.substitutions.append( ("%clangxx_asan ", (" " + config.clang + " " +
                                                 clang_asan_cxxflags + " ")) )
 
 # Setup path to external LLVM symbolizer to run AddressSanitizer output tests.
-llvm_obj_root = getattr(config, 'llvm_obj_root', None)
-if llvm_obj_root:
-  llvm_tools_dir = getattr(config, 'llvm_tools_dir', None)
+llvm_tools_dir = getattr(config, 'llvm_tools_dir', None)
+if llvm_tools_dir:
   config.environment['LLVM_SYMBOLIZER_PATH'] = os.path.join(
       llvm_tools_dir, "llvm-symbolizer")