<span style="font-family:courier new,monospace">error: ‘clang::CodeGen::CGBuilderTy’ has no member named ‘DisableDebugLocations’<br> Builder.DisableDebugLocations();<br> ^<br>llvm/tools/clang/lib/CodeGen/CGBlocks.cpp:1174:13: error: ‘clang::CodeGen::CGBuilderTy’ has no member named ‘EnableDebugLocations’<br>
Builder.EnableDebugLocations();<br> ^</span><br><br>And I'm building the svn revision <br><br><span style="font-family:courier new,monospace">$ svn info <br>URL: <a href="http://llvm.org/svn/llvm-project/llvm/trunk">http://llvm.org/svn/llvm-project/llvm/trunk</a><br>
Repository Root: <a href="http://llvm.org/svn/llvm-project">http://llvm.org/svn/llvm-project</a><br>Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8<br>Revision: 186794<br>Node Kind: directory<br>Schedule: normal<br>
Last Changed Author: rafael<br>Last Changed Rev: 186792<br>Last Changed Date: 2013-07-21 14:58:07 +0200 (dom, 21 lug 2013)</span><br><br>with the following configuration<br><br><span style="font-family:courier new,monospace">CXX=/PATH/TO/LOCAL/bin/g++ \<br>
CC=/PATH/TO/LOCAL/bin/gcc \<br> LDFLAGS="-L/PATH/TO/LOCAL/lib/gcc/x86_64-unknown-linux-gnu/lib64/" \<br> ../llvm/configure \<br> --prefix=/PATH/TO/INSTALLATION/ \<br> --enable-optimized \ <br> --enable-cxx11 \<br>
--enable-assertions \<br> --enable-shared \<br> --enable-doxygen \<br> --enable-optimized \<br> --enable-debug-runtime \<br> --enable-ltdl-install \<br> --enable-gold \<br> --enable-plugins \<br> --with-binutils-include=/usr/include</span><br>
<br>And I'm under linux 64 bit as you can guess. I replaced the full path for given directories with uppercase words to simplify the post above, but basically what was working before, doesn't work right now.<br><br>
I'm actually building out of tree of course with the following project in my trunk copy:<br><br> - llvm<br> - clang ( cfe )<br> - clang-tools-extra<br> - compiler-rt<br> - lldb<br><br>any idea about what is wrong with this ?<br>