[PATCH] D131270: MC: make section classification a bit more thorough

Saleem Abdulrasool via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 30 14:45:48 PDT 2022


compnerd marked 2 inline comments as done.
compnerd added a comment.

Slightly better reduction:

  struct C { int i_; };
  inline C& __attribute__((__used__)) getRef() {
    static C instance{0};
    return instance;
  }

It seems that we have some special case handling for other names in the ELF TLOF.  We need to handle those cases as well most likely.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131270



More information about the llvm-commits mailing list