[PATCH] D77971: [MC][X86][NFC] Disable branch align in non-text section
Kan Shengchen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 15 19:52:43 PDT 2020
skan added a comment.
In D77971#1981345 <https://reviews.llvm.org/D77971#1981345>, @MaskRay wrote:
> If we consider instructions in non-SHF_EXECINSTR sections an undefined behavior.
I asked some experts about this, and got the answer that putting instructions in non-executable section is legal and their encoding values will be treated as data. Do you have other concern about this patch?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77971/new/
https://reviews.llvm.org/D77971
More information about the llvm-commits
mailing list