[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
Tue Apr 14 01:01:21 PDT 2020


skan added a comment.

And test

llvm/test/MC/X86/relax-offset.s

    .section .text1
   .skip after-before,0x0
  .Lint80_keep_stack:
  
    .section .text2
  before:
   jmp .Lint80_keep_stack
  after:

Section `.text1` and `.text2` are not executable, so they are not recognized as text section in LLVM, but `.text2` do contains instruction


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