<div dir="ltr"><div>Hello</div><div><br></div><div>I am working on a plugin for clang and libclang and I am having problems with libclangs exported symbols.</div><div><br></div><div>The state right now of this is that D5611 and D15729 are somehow stuck.</div><div>After I did not respond fast enough, kfunk continued with D15729 which in the end was accepted.</div><div><br></div><div>But there is one thing that is still not fixed.</div><div>This just works in debug mode since libclang exports all symbols in debug mode. </div><div>In release mode the symbols that have to be exported change all the time and providing a list of symbols to export is not an option.</div><div>I saw that others are trying to load plugins with libclang ( clang-tidy ) [[<a href="http://clang-developers.42468.n3.nabble.com/Loading-plugins-into-libclang-td4050234.html">http://clang-developers.42468.n3.nabble.com/Loading-plugins-into-libclang-td4050234.html</a> ]]</div><div>It seems that dynamic loading still does not work like it should.</div><div><br></div><div>In my project I am putting these symbols into the libclang.exports file manually.</div><div>This way i am able to load any plugin.</div><div>My plugin is made to show polyhedral optimization results from pet and pluto in vim but it's also</div><div>possible to show clang-tidy output.</div><div>It's not limited to vim ( via YouCompleteMe ) the same thing works for kdevelop or any other IDE that uses </div><div>libclang to parse code.</div><div><br></div><div>If this was already solved and i am not able to see it please tell me.</div><div>Right now I am building libclang from git ( clang 4.0 ) and it still seems to have this problem.</div><div><br></div><div>Can someone help me with this ?</div></div>