[Lldb-commits] [PATCH] fix invalid header path introduced by r223433

Ilia K ki.stfu at gmail.com
Fri Dec 5 09:06:58 PST 2014


Hello,

After update I got a build error on OSX:

FAILED: /usr/bin/c++   -DGTEST_HAS_RTTI=0 -DHAVE_ROUND
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fPIC
-fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings
-Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long
-Wcovered-switch-default -std=c++11 -fcolor-diagnostics
-Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-deprecated-register
 -fno-exceptions -fno-rtti -fPIC -Itools/lldb/source/Expression
-I../tools/lldb/source/Expression -I../tools/lldb/include
-Itools/lldb/include -Iinclude -I../include
-I/System/Library/Frameworks/Python.framework/Headers
-I../tools/lldb/../clang/include -Itools/lldb/../clang/include
-I../tools/lldb/source/.    -fno-exceptions -fno-rtti -MMD -MT
tools/lldb/source/Expression/CMakeFiles/lldbExpression.dir/ClangModulesDeclVendor.cpp.o
-MF
tools/lldb/source/Expression/CMakeFiles/lldbExpression.dir/ClangModulesDeclVendor.cpp.o.d
-o
tools/lldb/source/Expression/CMakeFiles/lldbExpression.dir/ClangModulesDeclVendor.cpp.o
-c ../tools/lldb/source/Expression/ClangModulesDeclVendor.cpp
../tools/lldb/source/Expression/ClangModulesDeclVendor.cpp:10:10: fatal
error: 'ClangModulesDeclVendor.h' file not found
#include "ClangModulesDeclVendor.h"
         ^
1 error generated.

As I understood, it is broken after the following commit:
------------------------------------------------------------------------
r223433 | spyffe | 2014-12-05 04:21:59 +0300 (Fri, 05 Dec 2014) | 11 lines

This is the meat of the code to add Clang modules
support to LLDB.  It includes the following:

- Changed DeclVendor to TypeVendor.
- Made the ObjCLanguageRuntime provide a DeclVendor
  rather than a TypeVendor.
- Changed the consumers of TypeVendors to use
  DeclVendors instead.
- Provided a few convenience functions on
  ClangASTContext to make that easier.

------------------------------------------------------------------------

I changed the path to ClangModulesDeclVendor.h. My patch in attachments.

Thanks,
Ilia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20141205/a3fbabe6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lldb_fix_build_after_r223433.patch
Type: application/octet-stream
Size: 517 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20141205/a3fbabe6/attachment.obj>


More information about the lldb-commits mailing list