diff options
author | Vinson Lee <[email protected]> | 2012-07-21 00:44:06 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2012-07-21 10:38:25 -0700 |
commit | e2e7b467d8a6567437823767af74004a396f1c82 (patch) | |
tree | 706cb64d0dc07634ae0239e092ade1c13b716a48 /scons/llvm.py | |
parent | d24cf88a1a68591397d27efb209a7b8381911ce2 (diff) |
scons: Add instrumentation component libraries to linking on llvm-3.2.
llvm-3.2svn r160587 moved createBoundsCheckingPass from
lib/Transforms/Scalar to lib/Transforms/Instrumentation.
Signed-off-by: Vinson Lee <[email protected]>
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'scons/llvm.py')
-rw-r--r-- | scons/llvm.py | 3 |
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') |