2023-07-11 18:19:42 -05:00
|
|
|
// Verifies that `-Zsanitizer=cfi` with `-Clto` or `-Clto=thin` requires `-Ccodegen-units=1`.
|
|
|
|
//
|
2024-02-16 14:02:50 -06:00
|
|
|
//@ needs-sanitizer-cfi
|
|
|
|
//@ compile-flags: -Ccodegen-units=2 -Clto -Ctarget-feature=-crt-static -Zsanitizer=cfi
|
2023-07-11 18:19:42 -05:00
|
|
|
|
|
|
|
#![feature(no_core)]
|
|
|
|
#![no_core]
|
|
|
|
#![no_main]
|