Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we only dump ABI for target header files? #17

Open
xuzi123 opened this issue Jan 9, 2019 · 1 comment
Open

Can we only dump ABI for target header files? #17

xuzi123 opened this issue Jan 9, 2019 · 1 comment

Comments

@xuzi123
Copy link

xuzi123 commented Jan 9, 2019

Can abi-dumper only dump the ABI for a list of header files which we are concerned about?
For example,
target_file:

a.h
b.h

cmd:

abi-dumper liba.so -header-list target_file

And then the output dump file only contains the ABI information in a.h and b.h.
How can I achieve this?

@lvc
Copy link
Owner

lvc commented Jan 10, 2019

There is no such option yet, but you can copy your header files to a temp directory and use -public-headers option:

mkdir ./temp
cp -f a.h b.h ./temp
abi-dumper liba.so -public-headers ./temp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants