/usr/lib/llvm-3.6/include/lldb/lldb-private.h is in liblldb-3.6-dev 1:3.6-2ubuntu1~trusty2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 | //===-- lldb-private.h ------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#ifndef lldb_lldb_private_h_
#define lldb_lldb_private_h_
#if defined(__cplusplus)
#ifdef _WIN32
#include "lldb/Host/windows/win32.h"
#endif
#ifdef __ANDROID_NDK__
#include "lldb/Host/android/Android.h"
#endif
#include "lldb/lldb-public.h"
#include "lldb/lldb-private-enumerations.h"
#include "lldb/lldb-private-interfaces.h"
#include "lldb/lldb-private-log.h"
#include "lldb/lldb-private-types.h"
namespace lldb_private {
//------------------------------------------------------------------
/// Initializes lldb.
///
/// This function should be called prior to using any lldb
/// classes to ensure they have a chance to do any static
/// initialization that they need to do.
//------------------------------------------------------------------
void
Initialize();
//------------------------------------------------------------------
/// Notifies any classes that lldb will be terminating soon.
///
/// This function will be called when the Debugger shared instance
/// is being destructed and will give classes the ability to clean
/// up any threads or other resources they have that they might not
/// be able to clean up in their own destructors.
///
/// Internal classes that need this ability will need to add their
/// void T::WillTerminate() method in the body of this function in
/// lldb.cpp to ensure it will get called.
///
/// TODO: when we start having external plug-ins, we will need a way
/// for plug-ins to register a WillTerminate callback.
//------------------------------------------------------------------
void
WillTerminate();
//------------------------------------------------------------------
/// Terminates lldb
///
/// This function optionally can be called when clients are done
/// using lldb functionality to free up any static resources
/// that have been allocated during initialization or during
/// function calls. No lldb functions should be called after
/// calling this function without again calling DCInitialize()
/// again.
//------------------------------------------------------------------
void
Terminate();
const char *
GetVersion ();
const char *
GetVoteAsCString (Vote vote);
const char *
GetSectionTypeAsCString (lldb::SectionType sect_type);
bool
NameMatches (const char *name, NameMatchType match_type, const char *match);
} // namespace lldb_private
#endif // defined(__cplusplus)
#endif // lldb_lldb_private_h_
|