Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:42:52

0001 //===-- SymbolLocation.h ----------------------------------------*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 
0009 #ifndef LLDB_SYMBOL_SYMBOLLOCATION_H
0010 #define LLDB_SYMBOL_SYMBOLLOCATION_H
0011 
0012 #include "lldb/Utility/ConstString.h"
0013 #include "lldb/Utility/FileSpec.h"
0014 #include "lldb/lldb-private.h"
0015 
0016 #include <vector>
0017 
0018 namespace lldb_private {
0019 
0020 /// Stores a function module spec, symbol name and possibly an alternate symbol
0021 /// name.
0022 struct SymbolLocation {
0023   FileSpec module_spec;
0024   std::vector<ConstString> symbols;
0025 
0026   // The symbols are regular expressions. In such case all symbols are matched
0027   // with their trailing @VER symbol version stripped.
0028   bool symbols_are_regex = false;
0029 };
0030 
0031 } // namespace lldb_private
0032 #endif // LLDB_SYMBOL_SYMBOLLOCATION_H