<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/63866>63866</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
SBPlatform.cpp fails to compile with `error: no member named 'SetLocateModuleCallback' in 'lldb_private::Platform'`
</td>
</tr>
<tr>
<th>Labels</th>
<td>
lldb,
build-problem
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
sylvestre
</td>
</tr>
</table>
<pre>
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.
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy8Vl9zIjkO_zTmxSUKuqGBBx6ADnNUhWQqf466J0pti8YXt91nu0m4h_3sW6bJJtmZzGZrMkulCC1LP0k_yWqh96o0RFM2nLNh3sEm7K2b-qM-kA-OOoWVx-ltQBdI8mD5DpXmjgSZoI-cJeNgJR557WyBhT6yZMJ6OevNzt9Z7_zXPibLolFasmTpbeMEPQtA60PFkmU3CpRhyVJoNCVL5iyZc8j_Nfv3xfbm-v4q55BfXubz7epqe7max58c8u2Xq_vt7fX9zeIiPm1v7_LFdnF9dXs3u7rbrmeLm-vbl4Pl9c169q34crVevUhXfxlrsFb7l0iXPmBJCRTK-FenWsviNcTs6-od8L-tqYzQjaRPj_XTcH8MdIZ4o9R49yJiybI-hr01abffewfk2fGv4qLb_bCTN_X7RQ3EQfmjD1Tx75ClVfFU6YTDzgcUD1A7G0gE68AHZ03JYbOzrsLAYUPOWcfSvBWAJ9E4FY4cNsZCYxpPEo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