[PATCH] D131473: [XCOFF] ignore the cold attribute.

Digger Lin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 9 14:03:48 PDT 2022


DiggerLin added inline comments.


================
Comment at: llvm/lib/MC/MCXCOFFStreamer.cpp:40
   switch (Attribute) {
+  case MCSA_Cold:
+    return false;
----------------
 prefer to add comment here . 
MCXCOFFStreamer will be called when generate the xcoff object file. 
so "AIX XCOFF doesn't support the cold feature" instead of  AIX "assembly doesn't support the cold feature." ?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131473



More information about the llvm-commits mailing list