[PATCH] D78138: [MC][ELF] Reject instructions in SHT_NOBITS sections

Kan Shengchen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 14 20:40:14 PDT 2020


skan added inline comments.


================
Comment at: llvm/lib/MC/MCELFStreamer.cpp:540-541
 
   if (Assembler.isBundlingEnabled()) {
-    MCSection &Sec = *getCurrentSectionOnly();
     if (Assembler.getRelaxAll() && isBundleLocked()) {
----------------
This change is not related.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78138/new/

https://reviews.llvm.org/D78138





More information about the llvm-commits mailing list