003 File Manager
Current Path:
/usr/src/contrib/llvm-project/lldb/utils/TableGen
usr
/
src
/
contrib
/
llvm-project
/
lldb
/
utils
/
TableGen
/
📁
..
📄
LLDBOptionDefEmitter.cpp
(5.83 KB)
📄
LLDBPropertyDefEmitter.cpp
(6.88 KB)
📄
LLDBTableGen.cpp
(2.7 KB)
📄
LLDBTableGenBackends.h
(1.14 KB)
📄
LLDBTableGenUtils.cpp
(757 B)
📄
LLDBTableGenUtils.h
(1.01 KB)
Editing: LLDBTableGenUtils.cpp
//===- LLDBTableGenUtils.cpp ----------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "LLDBTableGenUtils.h" #include "llvm/TableGen/Record.h" using namespace llvm; using namespace lldb_private; RecordsByName lldb_private::getRecordsByName(std::vector<Record *> Records, StringRef Name) { RecordsByName Result; for (Record *R : Records) Result[R->getValueAsString(Name).str()].push_back(R); return Result; }
Upload File
Create Folder