Tags: alisw/root
Tags
Avoid spurious info message about missing _rdict.pcm when .pcm was al… …ready found
[rootcling] Remove check for unique_ptr members Since llvm/llvm-project@f5e687d libc++ implements _LIBCPP_COMPRESSED_PAIR with an anonymous struct (a Clang extension). This results in unique_ptr having a single FieldDecl with an empty name that does not appear as a data member in TClass. Instead, the AST has multiple IndirectFieldDecl's that "refer" into the anonymous struct. In ROOT, we now have two options: We could support anonymous structs, either by allowing data members with empty names or by adding all indirect field declarations as members. However, I would argue that we actually do NOT want to support this extension for IO classes. Instead remove the (questionable) check in rootcling that verifies the number of data members in unique_ptr.
[core] Remove dead code in TCling::InspectMembers Since the previous commit, IsUnsupportedUniquePointer does not check the number of data members anymore.
[tree] Reset fNamesToBranches map in Streamer() When reading, the Streamer() function may reuse the Tree. If the fNamesToBranch map is not invalidated GetBranch() may return stale pointers to freed memory. Fixes root-project#20706 (cherry picked from commit 7603459)
[core] Fix libCling linking with -Bsymbolic The code was in interpreter/CMakeLists.txt, but the definition of libCling is in core/metacling. After moving, symbols are correctly resolved by the linker and not anymore during dynamic loading. Fixes root-project#19889 (cherry picked from commit db22551)
PreviousNext