Skip to content

Commit bfd1be6

Browse files
author
Jenkins
committed
merge master into amd-stg-open
Change-Id: I206679daab3452b129cc6349bd904a6381dde400
2 parents 9c8625a + ad643d5 commit bfd1be6

File tree

1,377 files changed

+5008
-2155
lines changed

Some content is hidden

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

1,377 files changed

+5008
-2155
lines changed

clang/lib/CodeGen/CGCoroutine.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,9 +275,9 @@ RValue CodeGenFunction::EmitCoyieldExpr(const CoyieldExpr &E,
275275
void CodeGenFunction::EmitCoreturnStmt(CoreturnStmt const &S) {
276276
++CurCoro.Data->CoreturnCount;
277277
const Expr *RV = S.getOperand();
278-
if (RV && RV->getType()->isVoidType()) {
279-
// Make sure to evaluate the expression of a co_return with a void
280-
// expression for side effects.
278+
if (RV && RV->getType()->isVoidType() && !isa<InitListExpr>(RV)) {
279+
// Make sure to evaluate the non initlist expression of a co_return
280+
// with a void expression for side effects.
281281
RunCleanupsScope cleanupScope(*this);
282282
EmitIgnoredExpr(RV);
283283
}

clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp

Lines changed: 27 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -510,8 +510,14 @@ void StdLibraryFunctionsChecker::initFunctionSummaries(
510510
const RangeInt LongMax = BVF.getMaxValue(LongTy).getLimitedValue();
511511
const RangeInt LongLongMax = BVF.getMaxValue(LongLongTy).getLimitedValue();
512512

513-
const RangeInt UCharMax =
514-
BVF.getMaxValue(ACtx.UnsignedCharTy).getLimitedValue();
513+
// Set UCharRangeMax to min of int or uchar maximum value.
514+
// The C standard states that the arguments of functions like isalpha must
515+
// be representable as an unsigned char. Their type is 'int', so the max
516+
// value of the argument should be min(UCharMax, IntMax). This just happen
517+
// to be true for commonly used and well tested instruction set
518+
// architectures, but not for others.
519+
const RangeInt UCharRangeMax =
520+
std::min(BVF.getMaxValue(ACtx.UnsignedCharTy).getLimitedValue(), IntMax);
515521

516522
// The platform dependent value of EOF.
517523
// Try our best to parse this from the Preprocessor, otherwise fallback to -1.
@@ -573,8 +579,8 @@ void StdLibraryFunctionsChecker::initFunctionSummaries(
573579
// Templates for summaries that are reused by many functions.
574580
auto Getc = [&]() {
575581
return Summary(ArgTypes{Irrelevant}, RetType{IntTy}, NoEvalCall)
576-
.Case(
577-
{ReturnValueCondition(WithinRange, {{EOFv, EOFv}, {0, UCharMax}})});
582+
.Case({ReturnValueCondition(WithinRange,
583+
{{EOFv, EOFv}, {0, UCharRangeMax}})});
578584
};
579585
auto Read = [&](RetType R, RangeInt Max) {
580586
return Summary(ArgTypes{Irrelevant, Irrelevant, SizeTy}, RetType{R},
@@ -609,12 +615,13 @@ void StdLibraryFunctionsChecker::initFunctionSummaries(
609615
// The locale-specific range.
610616
// No post-condition. We are completely unaware of
611617
// locale-specific return values.
612-
.Case({ArgumentCondition(0U, WithinRange, {{128, UCharMax}})})
618+
.Case({ArgumentCondition(0U, WithinRange,
619+
{{128, UCharRangeMax}})})
613620
.Case({ArgumentCondition(0U, OutOfRange,
614621
{{'0', '9'},
615622
{'A', 'Z'},
616623
{'a', 'z'},
617-
{128, UCharMax}}),
624+
{128, UCharRangeMax}}),
618625
ReturnValueCondition(WithinRange, SingleValue(0))})},
619626
},
620627
{
@@ -625,10 +632,11 @@ void StdLibraryFunctionsChecker::initFunctionSummaries(
625632
{{'A', 'Z'}, {'a', 'z'}}),
626633
ReturnValueCondition(OutOfRange, SingleValue(0))})
627634
// The locale-specific range.
628-
.Case({ArgumentCondition(0U, WithinRange, {{128, UCharMax}})})
635+
.Case({ArgumentCondition(0U, WithinRange,
636+
{{128, UCharRangeMax}})})
629637
.Case({ArgumentCondition(
630638
0U, OutOfRange,
631-
{{'A', 'Z'}, {'a', 'z'}, {128, UCharMax}}),
639+
{{'A', 'Z'}, {'a', 'z'}, {128, UCharRangeMax}}),
632640
ReturnValueCondition(WithinRange, SingleValue(0))})},
633641
},
634642
{
@@ -692,9 +700,11 @@ void StdLibraryFunctionsChecker::initFunctionSummaries(
692700
ArgumentCondition(0U, OutOfRange, Range('a', 'z')),
693701
ReturnValueCondition(WithinRange, SingleValue(0))})
694702
// The locale-specific range.
695-
.Case({ArgumentCondition(0U, WithinRange, {{128, UCharMax}})})
703+
.Case({ArgumentCondition(0U, WithinRange,
704+
{{128, UCharRangeMax}})})
696705
// Is not an unsigned char.
697-
.Case({ArgumentCondition(0U, OutOfRange, Range(0, UCharMax)),
706+
.Case({ArgumentCondition(0U, OutOfRange,
707+
Range(0, UCharRangeMax)),
698708
ReturnValueCondition(WithinRange, SingleValue(0))})},
699709
},
700710
{
@@ -728,10 +738,11 @@ void StdLibraryFunctionsChecker::initFunctionSummaries(
728738
{{9, 13}, {' ', ' '}}),
729739
ReturnValueCondition(OutOfRange, SingleValue(0))})
730740
// The locale-specific range.
731-
.Case({ArgumentCondition(0U, WithinRange, {{128, UCharMax}})})
741+
.Case({ArgumentCondition(0U, WithinRange,
742+
{{128, UCharRangeMax}})})
732743
.Case({ArgumentCondition(
733744
0U, OutOfRange,
734-
{{9, 13}, {' ', ' '}, {128, UCharMax}}),
745+
{{9, 13}, {' ', ' '}, {128, UCharRangeMax}}),
735746
ReturnValueCondition(WithinRange, SingleValue(0))})},
736747
},
737748
{
@@ -742,10 +753,11 @@ void StdLibraryFunctionsChecker::initFunctionSummaries(
742753
.Case({ArgumentCondition(0U, WithinRange, Range('A', 'Z')),
743754
ReturnValueCondition(OutOfRange, SingleValue(0))})
744755
// The locale-specific range.
745-
.Case({ArgumentCondition(0U, WithinRange, {{128, UCharMax}})})
756+
.Case({ArgumentCondition(0U, WithinRange,
757+
{{128, UCharRangeMax}})})
746758
// Other.
747759
.Case({ArgumentCondition(0U, OutOfRange,
748-
{{'A', 'Z'}, {128, UCharMax}}),
760+
{{'A', 'Z'}, {128, UCharRangeMax}}),
749761
ReturnValueCondition(WithinRange, SingleValue(0))})},
750762
},
751763
{
@@ -768,7 +780,7 @@ void StdLibraryFunctionsChecker::initFunctionSummaries(
768780
{"getchar",
769781
Summaries{Summary(ArgTypes{}, RetType{IntTy}, NoEvalCall)
770782
.Case({ReturnValueCondition(
771-
WithinRange, {{EOFv, EOFv}, {0, UCharMax}})})}},
783+
WithinRange, {{EOFv, EOFv}, {0, UCharRangeMax}})})}},
772784

773785
// read()-like functions that never return more than buffer size.
774786
// We are not sure how ssize_t is defined on every platform, so we
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fcoroutines-ts -std=c++1z -emit-llvm %s -o - -disable-llvm-passes | FileCheck %s
2+
3+
namespace std {
4+
template <typename a>
5+
struct b { b(int, a); };
6+
template <typename, typename = int>
7+
struct c {};
8+
namespace experimental {
9+
template <typename d>
10+
struct coroutine_traits : d {};
11+
template <typename = void>
12+
struct coroutine_handle;
13+
template <>
14+
struct coroutine_handle<> {};
15+
template <typename>
16+
struct coroutine_handle : coroutine_handle<> {
17+
static coroutine_handle from_address(void *);
18+
};
19+
struct e {
20+
int await_ready();
21+
void await_suspend(coroutine_handle<>);
22+
void await_resume();
23+
};
24+
} // namespace experimental
25+
} // namespace std
26+
template <typename ag>
27+
auto ah(ag) { return ag().ah(0); }
28+
template <typename>
29+
struct f;
30+
struct g {
31+
struct h {
32+
int await_ready();
33+
template <typename al>
34+
void await_suspend(std::experimental::coroutine_handle<al>);
35+
void await_resume();
36+
};
37+
std::experimental::e initial_suspend();
38+
h final_suspend();
39+
template <typename ag>
40+
auto await_transform(ag) { return ah(ag()); }
41+
};
42+
struct j : g {
43+
f<std::b<std::c<int, int>>> get_return_object();
44+
void return_value(std::b<std::c<int, int>>);
45+
void unhandled_exception();
46+
};
47+
struct k {
48+
k(std::experimental::coroutine_handle<>);
49+
int await_ready();
50+
};
51+
template <typename am>
52+
struct f {
53+
using promise_type = j;
54+
std::experimental::coroutine_handle<> ar;
55+
struct l : k {
56+
using at = k;
57+
l(std::experimental::coroutine_handle<> m) : at(m) {}
58+
void await_suspend(std::experimental::coroutine_handle<>);
59+
};
60+
struct n : l {
61+
n(std::experimental::coroutine_handle<> m) : l(m) {}
62+
am await_resume();
63+
};
64+
auto ah(int) { return n(ar); }
65+
};
66+
template <typename am, typename av, typename aw>
67+
auto ax(std::c<am, av>, aw) -> f<std::c<int, aw>>;
68+
template <typename>
69+
struct J { static f<std::b<std::c<int, int>>> bo(); };
70+
// CHECK-LABEL: _ZN1JIiE2boEv(
71+
template <typename bc>
72+
f<std::b<std::c<int, int>>> J<bc>::bo() {
73+
std::c<int> bu;
74+
int bw(0);
75+
// CHECK: void @_ZN1j12return_valueESt1bISt1cIiiEE(%struct.j* %__promise)
76+
co_return{0, co_await ax(bu, bw)};
77+
}
78+
void bh() {
79+
auto cn = [] { J<int>::bo; };
80+
cn();
81+
}

clang/test/Driver/clang_f_opts.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,6 @@
304304
// RUN: -fno-inline-small-functions -finline-small-functions \
305305
// RUN: -fno-fat-lto-objects -ffat-lto-objects \
306306
// RUN: -fno-merge-constants -fmerge-constants \
307-
// RUN: -fno-merge-all-constants -fmerge-all-constants \
308307
// RUN: -fno-caller-saves -fcaller-saves \
309308
// RUN: -fno-reorder-blocks -freorder-blocks \
310309
// RUN: -fno-schedule-insns2 -fschedule-insns2 \
@@ -544,13 +543,6 @@
544543
// CHECK-DISCARD-NAMES: "-discard-value-names"
545544
// CHECK-NO-DISCARD-NAMES-NOT: "-discard-value-names"
546545

547-
// RUN: %clang -### -S -fmerge-all-constants %s 2>&1 | FileCheck -check-prefix=CHECK-MERGE-ALL-CONSTANTS %s
548-
// RUN: %clang -### -S -fno-merge-all-constants %s 2>&1 | FileCheck -check-prefix=CHECK-NO-MERGE-ALL-CONSTANTS %s
549-
// RUN: %clang -### -S -fmerge-all-constants -fno-merge-all-constants %s 2>&1 | FileCheck -check-prefix=CHECK-NO-MERGE-ALL-CONSTANTS %s
550-
// RUN: %clang -### -S -fno-merge-all-constants -fmerge-all-constants %s 2>&1 | FileCheck -check-prefix=CHECK-MERGE-ALL-CONSTANTS %s
551-
// CHECK-NO-MERGE-ALL-CONSTANTS-NOT: "-fmerge-all-constants"
552-
// CHECK-MERGE-ALL-CONSTANTS: "-fmerge-all-constants"
553-
554546
// RUN: %clang -### -S -fdelete-null-pointer-checks %s 2>&1 | FileCheck -check-prefix=CHECK-NULL-POINTER-CHECKS %s
555547
// RUN: %clang -### -S -fno-delete-null-pointer-checks %s 2>&1 | FileCheck -check-prefix=CHECK-NO-NULL-POINTER-CHECKS %s
556548
// RUN: %clang -### -S -fdelete-null-pointer-checks -fno-delete-null-pointer-checks %s 2>&1 | FileCheck -check-prefix=CHECK-NO-NULL-POINTER-CHECKS %s

clang/test/Driver/fmerge-constants.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// RUN: %clang -### -c %s -fno-merge-all-constants -fmerge-all-constants 2>&1 | FileCheck %s
2+
// CHECK: "-fmerge-all-constants"
3+
4+
// RUN: %clang -### -c %s 2>&1 | FileCheck --check-prefix=NO %s
5+
// RUN: %clang -### -c %s -fmerge-all-constants -fno-merge-all-constants 2>&1 | FileCheck --check-prefix=NO %s
6+
// NO-NOT: "-fmerge-all-constants"

compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,50 @@
161161
#include <net/slip.h>
162162
#include <netbt/hci.h>
163163
#include <netinet/ip_compat.h>
164+
#if __has_include(<netinet/ip_fil.h>)
164165
#include <netinet/ip_fil.h>
165166
#include <netinet/ip_nat.h>
166167
#include <netinet/ip_proxy.h>
168+
#else
169+
/* Fallback for MKIPFILTER=no */
170+
171+
typedef struct ap_control {
172+
char apc_label[16];
173+
char apc_config[16];
174+
unsigned char apc_p;
175+
unsigned long apc_cmd;
176+
unsigned long apc_arg;
177+
void *apc_data;
178+
size_t apc_dsize;
179+
} ap_ctl_t;
180+
181+
typedef struct ipftq {
182+
ipfmutex_t ifq_lock;
183+
unsigned int ifq_ttl;
184+
void *ifq_head;
185+
void **ifq_tail;
186+
void *ifq_next;
187+
void **ifq_pnext;
188+
int ifq_ref;
189+
unsigned int ifq_flags;
190+
} ipftq_t;
191+
192+
typedef struct ipfobj {
193+
uint32_t ipfo_rev;
194+
uint32_t ipfo_size;
195+
void *ipfo_ptr;
196+
int ipfo_type;
197+
int ipfo_offset;
198+
int ipfo_retval;
199+
unsigned char ipfo_xxxpad[28];
200+
} ipfobj_t;
201+
202+
#define SIOCADNAT _IOW('r', 60, struct ipfobj)
203+
#define SIOCRMNAT _IOW('r', 61, struct ipfobj)
204+
#define SIOCGNATS _IOWR('r', 62, struct ipfobj)
205+
#define SIOCGNATL _IOWR('r', 63, struct ipfobj)
206+
#define SIOCPURGENAT _IOWR('r', 100, struct ipfobj)
207+
#endif
167208
#include <netinet6/in6_var.h>
168209
#include <netinet6/nd6.h>
169210
#include <netsmb/smb_dev.h>

debuginfo-tests/llgdb-tests/apple-accel.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
// These sections are going to be retired in DWARF 5, so we hardcode
55
// the DWARF version in the tests.
66
// RUN: %clang %s %target_itanium_abi_host_triple -gdwarf-2 -O0 -c -g -o %t-ex
7-
// RUN: llvm-objdump -section-headers %t-ex | FileCheck %s
7+
// RUN: llvm-objdump --section-headers %t-ex | FileCheck %s
88
// RUN: %clang %s %target_itanium_abi_host_triple -gdwarf-4 -O0 -c -g -o %t-ex
9-
// RUN: llvm-objdump -section-headers %t-ex | FileCheck %s
9+
// RUN: llvm-objdump --section-headers %t-ex | FileCheck %s
1010

1111
// A function in a different section forces the compiler to create the
1212
// __debug_ranges section.

lld/test/COFF/arm-thumb-thunks-multipass.s

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: arm
22
// RUN: llvm-mc -filetype=obj -triple=thumbv7-windows %s -o %t.obj
33
// RUN: lld-link -entry:main -subsystem:console %t.obj -out:%t.exe -verbose 2>&1 | FileCheck -check-prefix=VERBOSE %s
4-
// RUN: llvm-objdump -d %t.exe -start-address=0x403000 -stop-address=0x403008 | FileCheck -check-prefix=FUNC01 %s
5-
// RUN: llvm-objdump -d %t.exe -start-address=0x404ffa -stop-address=0x405012 | FileCheck -check-prefix=FUNC01-THUNKS %s
4+
// RUN: llvm-objdump -d %t.exe --start-address=0x403000 --stop-address=0x403008 | FileCheck --check-prefix=FUNC01 %s
5+
// RUN: llvm-objdump -d %t.exe --start-address=0x404ffa --stop-address=0x405012 | FileCheck --check-prefix=FUNC01-THUNKS %s
66

77
// VERBOSE: Added {{.*}} thunks with margin 204800 in 2 passes
88

lld/test/COFF/arm-thumb-thunks.s

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// REQUIRES: arm
22
// RUN: llvm-mc -filetype=obj -triple=thumbv7-windows %s -o %t.obj
33
// RUN: lld-link -entry:main -subsystem:console %t.obj -out:%t.exe -verbose 2>&1 | FileCheck -check-prefix=VERBOSE %s
4-
// RUN: llvm-objdump -d %t.exe -start-address=0x401000 -stop-address=0x401022 | FileCheck -check-prefix=MAIN %s
5-
// RUN: llvm-objdump -d %t.exe -start-address=0x501022 -stop-address=0x501032 | FileCheck -check-prefix=FUNC1 %s
6-
// RUN: llvm-objdump -d %t.exe -start-address=0x601032 | FileCheck -check-prefix=FUNC2 %s
4+
// RUN: llvm-objdump -d %t.exe --start-address=0x401000 --stop-address=0x401022 | FileCheck --check-prefix=MAIN %s
5+
// RUN: llvm-objdump -d %t.exe --start-address=0x501022 --stop-address=0x501032 | FileCheck --check-prefix=FUNC1 %s
6+
// RUN: llvm-objdump -d %t.exe --start-address=0x601032 | FileCheck --check-prefix=FUNC2 %s
77

88
// VERBOSE: Added 3 thunks with margin {{.*}} in 1 passes
99

lld/test/COFF/arm64-delayimport.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# RUN: yaml2obj < %s > %t.obj
44
# RUN: lld-link /entry:main /subsystem:console /out:%t.exe %t.obj %p/Inputs/library-arm64.lib /alternatename:__delayLoadHelper2=main /delayload:library.dll
5-
# RUN: llvm-objdump -d %t.exe | FileCheck %s -check-prefix DISASM
5+
# RUN: llvm-objdump -d %t.exe | FileCheck %s --check-prefix DISASM
66
# RUN: llvm-readobj --coff-imports %t.exe | FileCheck %s -check-prefix IMPORTS
77

88
# DISASM: 140001014: 11 00 00 d0 adrp x17, #8192

lld/test/COFF/arm64-import2.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# REQUIRES: aarch64
22

33
# RUN: yaml2obj < %s > %t.obj
4-
# RUN: llvm-objdump -d %t.obj | FileCheck %s -check-prefix BEFORE
4+
# RUN: llvm-objdump -d %t.obj | FileCheck %s --check-prefix BEFORE
55
# RUN: lld-link /entry:main /subsystem:console /out:%t.exe %t.obj %p/Inputs/library-arm64.lib %p/Inputs/library2-arm64.lib
6-
# RUN: llvm-objdump -d %t.exe | FileCheck %s -check-prefix AFTER
6+
# RUN: llvm-objdump -d %t.exe | FileCheck %s --check-prefix AFTER
77
# RUN: llvm-readobj --coff-imports %t.exe | FileCheck %s -check-prefix IMPORTS
88

99
# BEFORE: Disassembly of section .text:

lld/test/COFF/arm64-relocs-imports.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# REQUIRES: aarch64
22

33
# RUN: yaml2obj < %s > %t.obj
4-
# RUN: llvm-objdump -d %t.obj | FileCheck %s -check-prefix BEFORE
4+
# RUN: llvm-objdump -d %t.obj | FileCheck %s --check-prefix BEFORE
55
# RUN: lld-link /entry:main /subsystem:console /out:%t.exe %t.obj %p/Inputs/library-arm64.lib
6-
# RUN: llvm-objdump -d %t.exe | FileCheck %s -check-prefix AFTER
6+
# RUN: llvm-objdump -d %t.exe | FileCheck %s --check-prefix AFTER
77

88
# BEFORE: Disassembly of section .text:
99
# BEFORE-EMPTY:

lld/test/COFF/arm64-thunks.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// REQUIRES: aarch64
22
// RUN: llvm-mc -filetype=obj -triple=aarch64-windows %s -o %t.obj
33
// RUN: lld-link -entry:main -subsystem:console %t.obj -out:%t.exe -verbose 2>&1 | FileCheck -check-prefix=VERBOSE %s
4-
// RUN: llvm-objdump -d %t.exe | FileCheck -check-prefix=DISASM %s
4+
// RUN: llvm-objdump -d %t.exe | FileCheck --check-prefix=DISASM %s
55

66
// VERBOSE: Added 2 thunks with margin {{.*}} in 1 passes
77

lld/test/COFF/armnt-blx23t.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# REQUIRES: arm
22

33
# RUN: yaml2obj < %s > %t.obj
4-
# RUN: llvm-objdump -d %t.obj | FileCheck %s -check-prefix BEFORE
4+
# RUN: llvm-objdump -d %t.obj | FileCheck %s --check-prefix BEFORE
55
# RUN: lld-link /entry:function /subsystem:console /out:%t.exe %t.obj
6-
# RUN: llvm-objdump -d %t.exe | FileCheck %s -check-prefix AFTER
6+
# RUN: llvm-objdump -d %t.exe | FileCheck %s --check-prefix AFTER
77

88
# BEFORE: Disassembly of section .text:
99
# BEFORE-EMPTY:

lld/test/COFF/armnt-branch24t.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# REQUIRES: arm
22

33
# RUN: yaml2obj < %s > %t.obj
4-
# RUN: llvm-objdump -d %t.obj | FileCheck %s -check-prefix BEFORE
4+
# RUN: llvm-objdump -d %t.obj | FileCheck %s --check-prefix BEFORE
55
# RUN: lld-link /entry:function /subsystem:console /out:%t.exe %t.obj
6-
# RUN: llvm-objdump -d %t.exe | FileCheck %s -check-prefix AFTER
6+
# RUN: llvm-objdump -d %t.exe | FileCheck %s --check-prefix AFTER
77

88
# BEFORE: Disassembly of section .text:
99
# BEFORE-EMPTY:

lld/test/COFF/armnt-mov32t-exec.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# REQUIRES: arm
22

33
# RUN: yaml2obj < %s > %t.obj
4-
# RUN: llvm-objdump -d %t.obj | FileCheck %s -check-prefix BEFORE
4+
# RUN: llvm-objdump -d %t.obj | FileCheck %s --check-prefix BEFORE
55
# RUN: lld-link /out:%t.exe /subsystem:console /entry:get_function %t.obj
6-
# RUN: llvm-objdump -d %t.exe | FileCheck %s -check-prefix AFTER
6+
# RUN: llvm-objdump -d %t.exe | FileCheck %s --check-prefix AFTER
77

88
# BEFORE: Disassembly of section .text:
99
# BEFORE-EMPTY:

0 commit comments

Comments
 (0)