blob: 62dafd7b6f15323a3661aeb798736c9306f8fd4c [file] [log] [blame]
Tatsuhisa Yamaguchi0990fa42019-08-29 18:23:32 +09001#!/usr/bin/env python3
2# -*- coding: utf-8 -*-
3# Copyright 2019 The Chromium OS Authors. All rights reserved.
4# Use of this source code is governed by a BSD-style license that can be
5# found in the LICENSE file.
6
7"""Python wrapper for dump_syms.
8
9path/to/dump_syms.py input output
10"""
11
12import subprocess
13import sys
14
15with open(sys.argv[2], "w") as outfile:
16 subprocess.check_call(["dump_syms", sys.argv[1]], stdout=outfile)