[DFAJumpThreading] Remove incoming StartBlock from all phis when unfolding select...
[llvm-project.git] / clang / tools / scan-build-py / bin / intercept-build
blobdcd0473ef548958883f24225b0ea6589a215f7c8
1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*-
3 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 # See https://llvm.org/LICENSE.txt for license information.
5 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 import multiprocessing
8 import sys
9 import os.path
10 this_dir = os.path.dirname(os.path.realpath(__file__))
11 sys.path.append(os.path.join(os.path.dirname(this_dir), 'lib'))
13 from libscanbuild.intercept import intercept_build
15 if __name__ == '__main__':
16     multiprocessing.freeze_support()
17     sys.exit(intercept_build())