You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also, in my case I'm using LLVM 3.5.1 and Clang 3.5.1 and I need to add the whole output of llvm-config --libs after the linking flag -lclangStaticAnalyzerFrontend to link properly (otherwise symbols are missing etc.). According to my understanding, it has something to do with including symbols from clang (which in turn includes symbols from llvm) and llvm at the same time into one object file. I couldn't come up with better solution :(
The text was updated successfully, but these errors were encountered:
dumblob
changed the title
Order of linking flags needs to be changed for GCC
Order of linking flags needs to be changed for GCC in clangdao
Jan 26, 2015
Likely the same issue as described in https://code.google.com/p/include-what-you-use/issues/detail?id=92 . Right now it's needed to put
-lclangEdit
before-lclangLex
to link with GCC under Linux.Also, in my case I'm using LLVM 3.5.1 and Clang 3.5.1 and I need to add the whole output of
llvm-config --libs
after the linking flag-lclangStaticAnalyzerFrontend
to link properly (otherwise symbols are missing etc.). According to my understanding, it has something to do with including symbols from clang (which in turn includes symbols from llvm) and llvm at the same time into one object file. I couldn't come up with better solution :(The text was updated successfully, but these errors were encountered: