Skip to content

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 <swine@google.com>
Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com> [small changes]
Signed-off-by: Pete Swain <swine@google.com>
Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com> [subject line]
Clang FDO adds a new, ignorable ELF section, .llvm.call-graph-profile

Generalize to ignore all .llvm.*

Signed-off-by: Pete Swain <swine@google.com>
Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com> [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