Adjust codegen tests for DISPFlagMainSubprogram
This commit is contained in:
parent
5c95f5fa6b
commit
ac560258e3
@ -7,7 +7,7 @@
|
||||
// compile-flags: -g -C no-prepopulate-passes
|
||||
|
||||
// CHECK-LABEL: @main
|
||||
// CHECK: {{.*}}DISubprogram{{.*}}name: "main",{{.*}}DIFlagMainSubprogram{{.*}}
|
||||
// CHECK: {{.*}}DISubprogram{{.*}}name: "main",{{.*}}DI{{(SP)?}}FlagMainSubprogram{{.*}}
|
||||
|
||||
pub fn main() {
|
||||
}
|
||||
|
@ -6,7 +6,7 @@
|
||||
#![feature(start)]
|
||||
|
||||
// CHECK-LABEL: @main
|
||||
// CHECK: {{.*}}DISubprogram{{.*}}name: "start",{{.*}}DIFlagMainSubprogram{{.*}}
|
||||
// CHECK: {{.*}}DISubprogram{{.*}}name: "start",{{.*}}DI{{(SP)?}}FlagMainSubprogram{{.*}}
|
||||
|
||||
#[start]
|
||||
fn start(_: isize, _: *const *const u8) -> isize {
|
||||
|
Loading…
Reference in New Issue
Block a user