Skip to content

additional switch table entries #611

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

Closed
nickdesaulniers opened this issue Jul 18, 2019 · 3 comments
Closed

additional switch table entries #611

nickdesaulniers opened this issue Jul 18, 2019 · 3 comments
Labels
[ARCH] x86_64 This bug impacts ARCH=x86_64 [BUG] llvm A bug that should be fixed in upstream LLVM enhancement New feature or request feature-request Not a bug per-se [FIXED][LLVM] 11 This bug was fixed in LLVM 11.0 [TOOL] objtool warning is produced by the kernel's objtool

Comments

@nickdesaulniers
Copy link
Member

nickdesaulniers commented Jul 18, 2019

From the discussion with @jpoimboe in https://lore.kernel.org/r/20190716231718.flutou25wemgsfju@treble/:

it seems that LLVM is producing dead entries in switch tables. It would likely cut down on code size to discard these.

I should:

  1. figure out how to reproduce
  2. file a bug upstream in LLVM's issue tracker
@nickdesaulniers nickdesaulniers added enhancement New feature or request [BUG] llvm A bug that should be fixed in upstream LLVM feature-request Not a bug per-se [ARCH] x86_64 This bug impacts ARCH=x86_64 low priority This bug is not critical and not a priority [TOOL] objtool warning is produced by the kernel's objtool labels Jul 18, 2019
@nickdesaulniers nickdesaulniers self-assigned this Jul 18, 2019
@nickdesaulniers
Copy link
Member Author

nickdesaulniers commented Jul 18, 2019

@nickdesaulniers
Copy link
Member Author

nickdesaulniers commented Sep 27, 2019

This might be the bug I filed for this issue: https://llvm.org/pr43129
and patch: https://reviews.llvm.org/D68131

@nickdesaulniers nickdesaulniers removed their assignment Mar 16, 2020
@nathanchance
Copy link
Member

Looks like this would be fixed in LLVM 11 then.

@nathanchance nathanchance added [FIXED][LLVM] 11 This bug was fixed in LLVM 11.0 and removed low priority This bug is not critical and not a priority labels Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[ARCH] x86_64 This bug impacts ARCH=x86_64 [BUG] llvm A bug that should be fixed in upstream LLVM enhancement New feature or request feature-request Not a bug per-se [FIXED][LLVM] 11 This bug was fixed in LLVM 11.0 [TOOL] objtool warning is produced by the kernel's objtool
Projects
None yet
Development

No branches or pull requests

2 participants