blob: 1392b10e138273e08f60d8e511523950d5a5ebc5 (
plain) (
blame)
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
|
//===-- ThisThread.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_Host_ThisThread_h_
#define lldb_Host_ThisThread_h_
#include "llvm/ADT/StringRef.h"
#include <string>
namespace llvm {
template <class T> class SmallVectorImpl;
}
namespace lldb_private {
class ThisThread {
private:
ThisThread();
public:
// ThisThread common functions.
static void SetName(llvm::StringRef name, int max_length);
// ThisThread platform-specific functions.
static void SetName(llvm::StringRef name);
static void GetName(llvm::SmallVectorImpl<char> &name);
};
}
#endif
|