Replace mcount calls with calls to fentry.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
include/clang/Driver/Options.td | ||
---|---|---|
1731 ↗ | (On Diff #82146) | Should this not be in the m_x86_Features_Group since this is an x86 specific flag? |
test/CodeGen/fentry.c | ||
1 ↗ | (On Diff #82146) | I want to say this test should be in test/Frontend directory since you're testing a new CC1 option. |
11 ↗ | (On Diff #82146) | I'd prefer we stick with the default CHECK and CHECK-NOT prefixes. |
test/CodeGen/fentry.c | ||
---|---|---|
11 ↗ | (On Diff #82146) | Specifically, for the first two RUN commands please use CHECK and for the latter two use something like NOPG-NOT. |
include/clang/Driver/Options.td | ||
---|---|---|
1731 ↗ | (On Diff #82146) | Done. -mfentry should eventually defined for at least aarch64 but until that point we should have the flag match clang's actual capabilities. |
test/CodeGen/fentry.c | ||
1 ↗ | (On Diff #82146) | That seems reasonable, but I wanted to match with the mcount test. |