Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collection of small llvm fixes #1305

Merged
merged 3 commits into from
Oct 4, 2022

Conversation

joe-lawrence
Copy link
Contributor

These are spun out of @swine's patchset #1302 in the interest of upstreaming sooner than the arm64 changes. This set pulls out the non-arm64 specific llvm fixes. I made minor changes along the way to align a little closer to the project commit/code conventions. Internal x86 clang integration tests passed.

While gcc puts strings in .strtab and .shstrtab sections,
llvm toolchain just uses .strtab.

Adapt kpatch to handle both styles.

Signed-off-by: Pete Swain <[email protected]>
Signed-off-by: Joe Lawrence <[email protected]> [small changes]
Signed-off-by: Pete Swain <[email protected]>
Signed-off-by: Joe Lawrence <[email protected]> [subject line]
Clang FDO adds a new, ignorable ELF section, .llvm.call-graph-profile

Generalize to ignore all .llvm.*

Signed-off-by: Pete Swain <[email protected]>
Signed-off-by: Joe Lawrence <[email protected]> [subject line]
@swine
Copy link
Contributor

swine commented Sep 28, 2022 via email

@joe-lawrence joe-lawrence merged commit 6507700 into dynup:master Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants