Skip to content

Commit bde763b

Browse files
committed
[llvm] auto-annotate remaining LLVM interfaces for DLL
1 parent 3782eb6 commit bde763b

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

llvm/include/llvm/Telemetry/Telemetry.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#ifndef LLVM_TELEMETRY_TELEMETRY_H
1515
#define LLVM_TELEMETRY_TELEMETRY_H
1616

17+
#include "llvm/Support/Compiler.h"
1718
#include "llvm/ADT/DenseMap.h"
1819
#include "llvm/ADT/StringExtras.h"
1920
#include "llvm/ADT/StringRef.h"
@@ -101,7 +102,7 @@ struct EntryKind {
101102
/// For example, The LLDB debugger can define a DebugCommandInfo subclass
102103
/// which has additional fields about the debug-command being instrumented,
103104
/// such as `CommandArguments` or `CommandName`.
104-
struct TelemetryInfo {
105+
struct LLVM_ABI TelemetryInfo {
105106
// This represents a unique-id, conventionally corresponding to
106107
// a tool's session - i.e., every time the tool starts until it exits.
107108
//
@@ -141,7 +142,7 @@ class Destination {
141142
/// and this framework.
142143
/// It is responsible for collecting telemetry data from the tool being
143144
/// monitored and transmitting the data elsewhere.
144-
class Manager {
145+
class LLVM_ABI Manager {
145146
public:
146147
virtual ~Manager() = default;
147148

llvm/include/llvm/ToolDrivers/llvm-dlltool/DlltoolDriver.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
namespace llvm {
1818
template <typename T> class ArrayRef;
1919

20-
int dlltoolDriverMain(ArrayRef<const char *> ArgsArr);
20+
LLVM_ABI int dlltoolDriverMain(ArrayRef<const char *> ArgsArr);
2121
} // namespace llvm
2222

2323
#endif

llvm/include/llvm/ToolDrivers/llvm-lib/LibDriver.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
namespace llvm {
1818
template <typename T> class ArrayRef;
1919

20-
int libDriverMain(ArrayRef<const char *> ARgs);
20+
LLVM_ABI int libDriverMain(ArrayRef<const char *> ARgs);
2121

2222
}
2323

0 commit comments

Comments
 (0)