Skip to content

Commit dd89ea1

Browse files
committed
format
1 parent cb49f85 commit dd89ea1

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

lld/ELF/Arch/AArch64.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include "Target.h"
1515
#include "lld/Common/ErrorHandler.h"
1616
#include "llvm/BinaryFormat/ELF.h"
17+
#include "llvm/Support/AArch64BuildAttributes.h"
1718
#include "llvm/Support/Endian.h"
1819

1920
using namespace llvm;
@@ -1261,8 +1262,8 @@ void elf::setAArch64TargetInfo(Ctx &ctx) {
12611262
ctx.target.reset(new AArch64(ctx));
12621263
}
12631264

1264-
AArch64BuildAttrSubsections
1265-
extractBuildAttributesSubsections(const llvm::AArch64AttributeParser &attributes) {
1265+
AArch64BuildAttrSubsections extractBuildAttributesSubsections(
1266+
const llvm::AArch64AttributeParser &attributes) {
12661267

12671268
AArch64BuildAttrSubsections subSections;
12681269
auto getPauthValue = [&](unsigned tag) -> unsigned {

lld/ELF/Arch/AArch64.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
//
77
//===---------------------------------------------------------------------===//
88

9-
#include <cstdint>
109
#include "llvm/Support/AArch64AttributeParser.h"
11-
#include "llvm/Support/AArch64BuildAttributes.h"
10+
#include <cstdint>
1211

1312
struct AArch64BuildAttrSubsections {
1413
struct PauthSubSection {
@@ -19,4 +18,4 @@ struct AArch64BuildAttrSubsections {
1918
};
2019

2120
AArch64BuildAttrSubsections
22-
extractBuildAttributesSubsections(const llvm::AArch64AttributeParser&);
21+
extractBuildAttributesSubsections(const llvm::AArch64AttributeParser &);

lld/ELF/InputFiles.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#include "Arch/AArch64.h"
109
#include "InputFiles.h"
10+
#include "Arch/AArch64.h"
1111
#include "Config.h"
1212
#include "DWARF.h"
1313
#include "Driver.h"
@@ -24,7 +24,6 @@
2424
#include "llvm/LTO/LTO.h"
2525
#include "llvm/Object/IRObjectFile.h"
2626
#include "llvm/Support/AArch64AttributeParser.h"
27-
#include "llvm/Support/AArch64BuildAttributes.h"
2827
#include "llvm/Support/ARMAttributeParser.h"
2928
#include "llvm/Support/ARMBuildAttributes.h"
3029
#include "llvm/Support/Endian.h"

0 commit comments

Comments
 (0)