Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
cc54612ac33fc858e19e85eb9d76b6ece83c25e7
rust/tests/codegen/instrument-mcount.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
205 B
Rust
Raw Normal View History

Remove redundant `ignore-tidy-linelength` annotations This is step 2 towards fixing #77548. In the codegen and codegen-units test suites, the `//` comment markers were kept in order not to affect any source locations. This is because these tests cannot be automatically `--bless`ed.
2021-04-03 13:05:11 +02:00
//
Automatically enable cross-crate inlining for small functions
2023-10-06 20:29:42 -04:00
// compile-flags: -Z instrument-mcount -Copt-level=0
Use platform dependent mcount function
2019-03-29 06:44:31 +09:00
#![crate_type = "lib"]
Use function attribute "frame-pointer" instead of "no-frame-pointer-elim" LLVM 8 (D56351) introduced "frame-pointer". In LLVM 10 (D71863), "no-frame-pointer-elim"/"no-frame-pointer-elim-non-leaf" will be ignored.
2019-12-30 21:35:13 -08:00
// CHECK: attributes #{{.*}} "frame-pointer"="all" "instrument-function-entry-inlined"="{{.*}}mcount{{.*}}"
Use platform dependent mcount function
2019-03-29 06:44:31 +09:00
pub fn foo() {}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 887ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API