Path: blob/main/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ClangASTMetadata.cpp
39648 views
//===-- ClangASTMetadata.cpp ----------------------------------------------===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#include "Plugins/ExpressionParser/Clang/ClangASTMetadata.h"9#include "lldb/Utility/Stream.h"1011using namespace lldb_private;1213void ClangASTMetadata::Dump(Stream *s) {14lldb::user_id_t uid = GetUserID();1516if (uid != LLDB_INVALID_UID) {17s->Printf("uid=0x%" PRIx64, uid);18}1920uint64_t isa_ptr = GetISAPtr();21if (isa_ptr != 0) {22s->Printf("isa_ptr=0x%" PRIx64, isa_ptr);23}2425const char *obj_ptr_name = GetObjectPtrName();26if (obj_ptr_name) {27s->Printf("obj_ptr_name=\"%s\" ", obj_ptr_name);28}2930if (m_is_dynamic_cxx) {31s->Printf("is_dynamic_cxx=%i ", m_is_dynamic_cxx);32}33s->EOL();34}353637