NFC: Unforget a colon in a few CHECK: directives.
Differential Revision: https://reviews.llvm.org/D64526 llvm-svn: 365863
This commit is contained in:
parent
8c0b58f759
commit
8bd441af8b
|
@ -459,7 +459,7 @@ namespace temporary_object_expr_without_dtors {
|
|||
// TODO: Should provide construction context for the constructor,
|
||||
// even if there is no specific trigger statement here.
|
||||
// CHECK: void simpleTemporary()
|
||||
// CHECK 1: C() (CXXConstructExpr, class C)
|
||||
// CHECK: 1: C() (CXXConstructExpr, class C)
|
||||
void simpleTemporary() {
|
||||
C();
|
||||
}
|
||||
|
|
|
@ -45,7 +45,7 @@ void *operator new(std::size_t, void * __attribute__((noescape)) p) {
|
|||
}
|
||||
|
||||
// CHECK-LABEL: define i8* @_Z5test1Pv(
|
||||
// CHECK : %call = call {{.*}} @_ZnwmPv({{.*}}, {{.*}} nocapture {{.*}})
|
||||
// CHECK: %call = call {{.*}} @_ZnwmPv({{.*}}, {{.*}} nocapture {{.*}})
|
||||
void *test1(void *p0) {
|
||||
return ::operator new(16, p0);
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@ extern "C" void block_param();
|
|||
void param(ObjTy *p) EXT_RET {
|
||||
// CHECK-LABEL: define void @param
|
||||
// CHECK-NOT: llvm.objc.
|
||||
// CHECK ret
|
||||
// CHECK: ret
|
||||
}
|
||||
|
||||
void local() {
|
||||
|
|
|
@ -90,8 +90,8 @@ int main(int argc, const char *argv[]) {
|
|||
// Not profiled
|
||||
// CHECK-LABEL: bar:
|
||||
// CHECK: Counters: 1
|
||||
// CHECK-NEXT Function count: 0
|
||||
// CHECK-NEXT Block counts: []
|
||||
// CHECK-NEXT: Function count: 0
|
||||
// CHECK-NEXT: Block counts: []
|
||||
|
||||
// Not profiled
|
||||
// CHECK-LABEL: main:
|
||||
|
|
|
@ -116,6 +116,7 @@ Bar odr_violation = { 42 };
|
|||
// CHECK: DW_AT_type {{.*}}{0x{{0*}}[[PTR:.*]]}
|
||||
//
|
||||
// CHECK: 0x{{0*}}[[PTR]]: DW_TAG_pointer_type
|
||||
// FIXME: The next line doesn't work.
|
||||
// CHECK-NEXT DW_AT_type [DW_FORM_ref_addr] {0x{{0*}}[[INTERFACE]]
|
||||
extern int odr_violation;
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ void foo() {
|
|||
// CHECK: AT_name{{.*}} "S"
|
||||
// CHECK-NOT: {{DW_TAG|NULL}}
|
||||
// CHECK: AT_declaration
|
||||
// CHECK-NOT AT_byte_size
|
||||
// CHECK-NOT: AT_byte_size
|
||||
|
||||
#elif defined(FILE2)
|
||||
# 1 "Header.h" 1
|
||||
|
|
Loading…
Reference in New Issue