summaryrefslogtreecommitdiffstats
path: root/scons/llvm.py
diff options
context:
space:
mode:
Diffstat (limited to 'scons/llvm.py')
-rw-r--r--scons/llvm.py3
1 files changed, 3 insertions, 0 deletions
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')