[compiler-rt] r299739 - Add missing import

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 6 18:24:49 PDT 2017


Author: rnk
Date: Thu Apr  6 20:24:48 2017
New Revision: 299739

URL: http://llvm.org/viewvc/llvm-project?rev=299739&view=rev
Log:
Add missing import

Modified:
    compiler-rt/trunk/unittests/lit.common.unit.cfg

Modified: compiler-rt/trunk/unittests/lit.common.unit.cfg
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/unittests/lit.common.unit.cfg?rev=299739&r1=299738&r2=299739&view=diff
==============================================================================
--- compiler-rt/trunk/unittests/lit.common.unit.cfg (original)
+++ compiler-rt/trunk/unittests/lit.common.unit.cfg Thu Apr  6 20:24:48 2017
@@ -39,6 +39,7 @@ if config.host_os == 'Darwin':
   # only works for code if it is stored at the top level of some module.
   # Therefore, we have to put the code in a .py file, add it to path, and import
   # it to store it in the config.
+  import site
   site.addsitedir(os.path.dirname(__file__))
   import lit_unittest_cfg_utils
   config.darwin_sanitizer_parallelism_group_func = \




More information about the llvm-commits mailing list