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

Attachment: lldb_fix_build_after_r223433.patch
Description: Binary data

_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to