Issue 63866
Summary SBPlatform.cpp fails to compile with `error: no member named 'SetLocateModuleCallback' in 'lldb_private::Platform'`
Labels lldb, build-problem
Assignees
Reporter sylvestre
    Started to fail recently (today probably)

```
/build/source/build-llvm/./bin/clang++ -DHAVE_ROUND -DLLDB_IN_LIBLLDB -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/build/source/build-llvm/tools/clang/stage2-bins/tools/lldb/source/API -I/build/source/lldb/source/API -I/build/source/lldb/include -I/build/source/build-llvm/tools/clang/stage2-bins/tools/lldb/include -I/build/source/build-llvm/tools/clang/stage2-bins/include -I/build/source/llvm/include -I/usr/include/python3.10 -I/build/source/clang/include -I/build/source/build-llvm/tools/clang/stage2-bins/tools/lldb/../clang/include -I/build/source/lldb/source -I/build/source/build-llvm/tools/clang/stage2-bins/tools/lldb/source -isystem /usr/include/libxml2 -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -ffile-prefix-map=/build/source/build-llvm/tools/clang/stage2-bins=build-llvm/tools/clang/stage2-bins -ffile-prefix-map=/build/source/= -no-canonical-prefixes -Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-deprecated-register -Wno-vla-extension -O2 -DNDEBUG -g1 -fPIC -fno-exceptions -funwind-tables -std=c++17 -MD -MT tools/lldb/source/API/CMakeFiles/liblldb.dir/SBPlatform.cpp.o -MF tools/lldb/source/API/CMakeFiles/liblldb.dir/SBPlatform.cpp.o.d -o tools/lldb/source/API/CMakeFiles/liblldb.dir/SBPlatform.cpp.o -c /build/source/lldb/source/API/SBPlatform.cpp
/build/source/lldb/source/API/SBPlatform.cpp:669:18: error: no member named 'SetLocateModuleCallback' in 'lldb_private::Platform'
  669 | platform_sp->SetLocateModuleCallback(nullptr);
      | ~~~~~~~~~~~~~^
/build/source/lldb/source/API/SBPlatform.cpp:677:16: error: no member named 'SetLocateModuleCallback' in 'lldb_private::Platform'
 677 |   platform_sp->SetLocateModuleCallback(
      | ~~~~~~~~~~~~~^
2 errors generated.
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to