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
|
// compile-flags: -g -C no-prepopulate-passes
|
||||||
|
|
||||||
// CHECK-LABEL: @main
|
// CHECK-LABEL: @main
|
||||||
// CHECK: {{.*}}DISubprogram{{.*}}name: "main",{{.*}}DIFlagMainSubprogram{{.*}}
|
// CHECK: {{.*}}DISubprogram{{.*}}name: "main",{{.*}}DI{{(SP)?}}FlagMainSubprogram{{.*}}
|
||||||
|
|
||||||
pub fn main() {
|
pub fn main() {
|
||||||
}
|
}
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#![feature(start)]
|
#![feature(start)]
|
||||||
|
|
||||||
// CHECK-LABEL: @main
|
// CHECK-LABEL: @main
|
||||||
// CHECK: {{.*}}DISubprogram{{.*}}name: "start",{{.*}}DIFlagMainSubprogram{{.*}}
|
// CHECK: {{.*}}DISubprogram{{.*}}name: "start",{{.*}}DI{{(SP)?}}FlagMainSubprogram{{.*}}
|
||||||
|
|
||||||
#[start]
|
#[start]
|
||||||
fn start(_: isize, _: *const *const u8) -> isize {
|
fn start(_: isize, _: *const *const u8) -> isize {
|
||||||
|
Loading…
Reference in New Issue
Block a user