[clang] [clang-tools-extra] [lldb] [llvm] [Support][JSON] Use `std::unordered_map` for object storage (PR #171230)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 24 02:16:40 PDT 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-ppc64le-linux-test-suite` running on `ppc64le-clang-test-suite` while building `clang-tools-extra,clang,lldb,llvm` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/95/builds/20654
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build-unified-tree) failure: build (failure)
...
16.274 [6050/31/386] Generating ../../../../lib/libscanbuild/resources/selectable.js
16.274 [6050/30/387] Generating ../../../../lib/libscanbuild/resources/sorttable.js
16.274 [6050/29/388] Generating ../../../../libexec/intercept-c++
16.274 [6050/28/389] Generating ../../../../bin/scan-view
16.274 [6050/27/390] Generating ../../../../share/scan-view/Reporter.py
16.274 [6050/26/391] Generating ../../../../share/scan-view/ScanView.py
16.274 [6050/25/392] Generating ../../../../share/scan-view/bugcatcher.ico
16.274 [6050/24/393] Generating ../../../../share/scan-view/startfile.py
16.274 [6050/23/394] Linking CXX static library lib/libLLVMDemangle.a
16.279 [6050/22/395] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ARMAttributeParser.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/ARMAttributeParser.cpp.o
ccache /usr/lib64/ccache/c++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/lib/Support -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/lib/Support -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-array-bounds -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/ARMAttributeParser.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/ARMAttributeParser.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/ARMAttributeParser.cpp.o -c /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/lib/Support/ARMAttributeParser.cpp
In file included from /usr/include/c++/8/bits/stl_algobase.h:64,
from /usr/include/c++/8/bits/char_traits.h:39,
from /usr/include/c++/8/ios:40,
from /usr/include/c++/8/ostream:38,
from /usr/include/c++/8/iterator:64,
from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/include/llvm/ADT/ADL.h:13,
from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/include/llvm/ADT/Hashing.h:47,
from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:12,
from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/include/llvm/Support/ELFAttributes.h:12,
from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/include/llvm/Support/ARMBuildAttributes.h:22,
from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/include/llvm/Support/ARMAttributeParser.h:12,
from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/lib/Support/ARMAttributeParser.cpp:9:
/usr/include/c++/8/bits/stl_pair.h: In instantiation of ‘struct std::pair<const llvm::json::ObjectKey, llvm::json::Value>’:
/usr/include/c++/8/ext/aligned_buffer.h:91:28: required from ‘struct __gnu_cxx::__aligned_buffer<std::pair<const llvm::json::ObjectKey, llvm::json::Value> >’
/usr/include/c++/8/bits/hashtable_policy.h:234:43: required from ‘struct std::__detail::_Hash_node_value_base<std::pair<const llvm::json::ObjectKey, llvm::json::Value> >’
/usr/include/c++/8/bits/hashtable_policy.h:265:12: required from ‘struct std::__detail::_Hash_node<std::pair<const llvm::json::ObjectKey, llvm::json::Value>, true>’
/usr/include/c++/8/bits/hashtable_policy.h:2038:49: required from ‘struct std::__detail::_Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<const llvm::json::ObjectKey, llvm::json::Value>, true> > >’
/usr/include/c++/8/bits/hashtable.h:173:11: required from ‘class std::_Hashtable<llvm::json::ObjectKey, std::pair<const llvm::json::ObjectKey, llvm::json::Value>, std::allocator<std::pair<const llvm::json::ObjectKey, llvm::json::Value> >, std::__detail::_Select1st, std::equal_to<llvm::json::ObjectKey>, llvm::json::Object::ObjectKeyHash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >’
/usr/include/c++/8/bits/unordered_map.h:105:18: required from ‘class std::unordered_map<llvm::json::ObjectKey, llvm::json::Value, llvm::json::Object::ObjectKeyHash>’
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/include/llvm/Support/JSON.h:106:11: required from here
/usr/include/c++/8/bits/stl_pair.h:214:11: error: ‘std::pair<_T1, _T2>::first’ has incomplete type
_T1 first; /// @c first is a copy of the first object
^~~~~
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/include/llvm/Support/ScopedPrinter.h:21,
from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/lib/Support/ARMAttributeParser.cpp:13:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/include/llvm/Support/JSON.h:93:7: note: forward declaration of ‘class llvm::json::ObjectKey’
class ObjectKey;
^~~~~~~~~
In file included from /usr/include/c++/8/bits/stl_algobase.h:64,
from /usr/include/c++/8/bits/char_traits.h:39,
from /usr/include/c++/8/ios:40,
from /usr/include/c++/8/ostream:38,
from /usr/include/c++/8/iterator:64,
from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/include/llvm/ADT/ADL.h:13,
from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/include/llvm/ADT/Hashing.h:47,
from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:12,
from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/include/llvm/Support/ELFAttributes.h:12,
```
</details>
https://github.com/llvm/llvm-project/pull/171230
More information about the cfe-commits
mailing list