Skip to content
This repository has been archived by the owner on May 21, 2021. It is now read-only.

Compatibility with Xcode toolchain #9

Closed
mkr-plse opened this issue Apr 2, 2018 · 1 comment
Closed

Compatibility with Xcode toolchain #9

mkr-plse opened this issue Apr 2, 2018 · 1 comment

Comments

@mkr-plse
Copy link

mkr-plse commented Apr 2, 2018

I am able to use the plugin (PrintTopDeclarations) on simple Objective-C programs. However, when trying to load the .dylib file and use it as part of a project which is built using Xcode toolchain, it results in build errors. This seems to be an issue because the plugin is built using custom clang versus the project using Xcode clang. This is also likely related to this question.

Do you have any suggestions on how to generate the dylib using the Xcode clang without using the provided sources from the clang directory in the current repo?

@ma2bd
Copy link
Contributor

ma2bd commented Apr 3, 2018

I personally never managed to run clang plugins against the binary of clang shipped with Xcode, mainly because this binary is stripped (or at least was when I tried), yet plugins want to call into its symbols. It would definitely be nice if we could make it work somehow.

@ma2bd ma2bd closed this as completed Apr 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants