Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
emscripten-core
GitHub Repository: emscripten-core/emscripten
Path: blob/main/tools/emdwp.py
4128 views
1
#!/usr/bin/env python3
2
# Copyright 2016 The Emscripten Authors. All rights reserved.
3
# Emscripten is available under two separate licenses, the MIT license and the
4
# University of Illinois/NCSA Open Source License. Both these licenses can be
5
# found in the LICENSE file.
6
7
"""Wrapper script around `llvm-dwp`.
8
"""
9
10
import sys
11
import os
12
13
__scriptdir__ = os.path.dirname(os.path.abspath(__file__))
14
__rootdir__ = os.path.dirname(__scriptdir__)
15
sys.path.insert(0, __rootdir__)
16
17
from tools import shared
18
19
shared.exec_process([shared.LLVM_DWP] + sys.argv[1:])
20
21