blob: 05b75f72b13d8cdc43ae21df7d56f66a8cd5e781 [file]
#!/usr/bin/env python3
# Copyright 2016 The Emscripten Authors. All rights reserved.
# Emscripten is available under two separate licenses, the MIT license and the
# University of Illinois/NCSA Open Source License. Both these licenses can be
# found in the LICENSE file.
"""Wrapper script around `llvm-nm`."""
import os
import sys
__scriptdir__ = os.path.dirname(os.path.abspath(__file__))
__rootdir__ = os.path.dirname(__scriptdir__)
sys.path.insert(0, __rootdir__)
from tools import shared
LLVM_NM = shared.llvm_tool_path('llvm-nm')
shared.exec_process([LLVM_NM, *sys.argv[1:]])