From e2e7b467d8a6567437823767af74004a396f1c82 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Sat, 21 Jul 2012 00:44:06 -0700 Subject: [PATCH] scons: Add instrumentation component libraries to linking on llvm-3.2. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit llvm-3.2svn r160587 moved createBoundsCheckingPass from lib/Transforms/Scalar to lib/Transforms/Instrumentation. Signed-off-by: Vinson Lee Reviewed-by: José Fonseca --- scons/llvm.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scons/llvm.py b/scons/llvm.py index f87766af190..2fb82f06a04 100644 --- a/scons/llvm.py +++ b/scons/llvm.py @@ -180,6 +180,9 @@ def generate(env): components = ['engine', 'bitwriter', 'x86asmprinter'] + if llvm_version >= distutils.version.LooseVersion('3.2'): + components.append('instrumentation') + if llvm_version >= distutils.version.LooseVersion('3.1'): components.append('mcjit') -- 2.30.2