aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libsan/generate_symbolizer.py
blob: d28c64bd9262b8b74070c47f2ceb3b8061a39ebe (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()