Add serialized ABI definition files
[urcu.git] / extras / abi / dump_abi.sh
CommitLineData
c0ecb6ea
MJ
1#!/bin/bash
2# SPDX-License-Identifier: GPL-2.0-only
3
4set -eu
5
6INDIR=$1
7OUTDIR=$2
8
9ARGS=(
10 "--annotate" # Add comments to the xml output
11 "--no-corpus-path" # Do not put the path in the abi-corpus
12)
13
14for lib in "${INDIR}"/liburcu*.so.?
15do
16 abidw "${ARGS[@]}" --out-file "${OUTDIR}/$(basename "$lib").xml" "$lib"
17
18 # Clean the full paths
19 sed -i "s#$(pwd)/##g" "${OUTDIR}/$(basename "$lib").xml"
20done
21
This page took 0.022881 seconds and 4 git commands to generate.