Skip to content

[LLVM 11 regression] Backport of [MC][ELF] Fix accepting abbreviated form with sh_flags and sh_entsize #48266

@tob2

Description

@tob2
Bugzilla Link 48922
Version 11.0
OS Linux
Blocks #48289
CC @tstellar

Extended Description

During the development of LLVM 11, a sensible error was added, but it triggered too often. This was fixed recently (LLVM trunk + 11 backport), cf. Bug #​48201

However, I missed a corner case, affecting-real-world code, which has now been fixed:

https://reviews.llvm.org/D94072 – committed to LLVM trunk
as commit 70ea15b

Thus, it makes sense to also backport the follow-up fix to LLVM 11.
Thanks for consideration/merging.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillamcMachine (object) codeobsoleteIssues with old (unsupported) versions of LLVMregression

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions