Skip to content

Commit 3bfa0d3

Browse files
committed
[llvm] manual fixups to export annotations
1 parent 4a6fad9 commit 3bfa0d3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+358
-328
lines changed

llvm/include/llvm/Support/AArch64AttributeParser.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@
99
#ifndef LLVM_SUPPORT_AARCH64ATTRIBUTEPARSER_H
1010
#define LLVM_SUPPORT_AARCH64ATTRIBUTEPARSER_H
1111

12+
#include "llvm/Support/Compiler.h"
1213
#include "llvm/Support/ELFAttrParserExtended.h"
1314
#include "llvm/Support/ELFAttributes.h"
1415

1516
namespace llvm {
1617

1718
class AArch64AttributeParser : public ELFExtendedAttrParser {
18-
static std::vector<SubsectionAndTagToTagName> &returnTagsNamesMap();
19+
LLVM_ABI static std::vector<SubsectionAndTagToTagName> &returnTagsNamesMap();
1920

2021
public:
2122
AArch64AttributeParser(ScopedPrinter *Sw)

llvm/include/llvm/Support/ARMAttributeParser.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,15 @@
1111

1212
#include "ARMBuildAttributes.h"
1313
#include "llvm/ADT/StringRef.h"
14+
#include "llvm/Support/Compiler.h"
1415
#include "llvm/Support/ELFAttrParserCompact.h"
1516
#include "llvm/Support/Error.h"
1617

1718
namespace llvm {
1819

1920
class ScopedPrinter;
2021

21-
class ARMAttributeParser : public ELFCompactAttrParser {
22+
class LLVM_ABI ARMAttributeParser : public ELFCompactAttrParser {
2223
struct DisplayHandler {
2324
ARMBuildAttrs::AttrType attribute;
2425
Error (ARMAttributeParser::*routine)(ARMBuildAttrs::AttrType);

llvm/include/llvm/Support/BinaryStreamError.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,17 @@ enum class stream_error_code {
2525
};
2626

2727
/// Base class for errors originating when parsing raw PDB files
28-
class BinaryStreamError : public ErrorInfo<BinaryStreamError> {
28+
class LLVM_ABI BinaryStreamError : public ErrorInfo<BinaryStreamError> {
2929
public:
30-
LLVM_ABI static char ID;
31-
LLVM_ABI explicit BinaryStreamError(stream_error_code C);
32-
LLVM_ABI explicit BinaryStreamError(StringRef Context);
33-
LLVM_ABI BinaryStreamError(stream_error_code C, StringRef Context);
30+
static char ID;
31+
explicit BinaryStreamError(stream_error_code C);
32+
explicit BinaryStreamError(StringRef Context);
33+
BinaryStreamError(stream_error_code C, StringRef Context);
3434

35-
LLVM_ABI void log(raw_ostream &OS) const override;
36-
LLVM_ABI std::error_code convertToErrorCode() const override;
35+
void log(raw_ostream &OS) const override;
36+
std::error_code convertToErrorCode() const override;
3737

38-
LLVM_ABI StringRef getErrorMessage() const;
38+
StringRef getErrorMessage() const;
3939

4040
stream_error_code getErrorCode() const { return Code; }
4141

llvm/include/llvm/Support/COM.h

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

17+
#include "llvm/Support/Compiler.h"
18+
1719
namespace llvm {
1820
namespace sys {
1921

llvm/include/llvm/Support/CSKYAttributeParser.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@
1010
#define LLVM_SUPPORT_CSKYATTRIBUTEPARSER_H
1111

1212
#include "llvm/Support/CSKYAttributes.h"
13+
#include "llvm/Support/Compiler.h"
1314
#include "llvm/Support/ELFAttrParserCompact.h"
1415

1516
namespace llvm {
16-
class CSKYAttributeParser : public ELFCompactAttrParser {
17+
class LLVM_ABI CSKYAttributeParser : public ELFCompactAttrParser {
1718
struct DisplayHandler {
1819
CSKYAttrs::AttrType attribute;
1920
Error (CSKYAttributeParser::*routine)(unsigned);

0 commit comments

Comments
 (0)