-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.
Description
Currently whenever you compile with -C panic=abort
we will omit invoke
instructions and the uwtable
LLVM function attribute, but we should also set the nounwind
attribute. It looks like on ARM this forces the object file to not reference functions that otherwise a function missing the nounwind
attribute will not have.
This should help out remove some weird hacks for embedded work!
cc @japaric
sanmai-NL
Metadata
Metadata
Assignees
Labels
A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.