aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libsan/generate_symbolizer.py
blob: 5c2588bc43187c406a94a2eeee0a92a37da3725e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import os
import sys


def main():
    print('const char* ya_get_symbolizer_gen() {')
    print('    return "{}";'.format(os.path.join(os.path.dirname(sys.argv[1]), 'llvm-symbolizer')))
    print('}')


if __name__ == '__main__':
    main()