AIX assembly doesn't support the cold feature.
While it shouldn't be a function error when XCOFF catching the cold attribute.
As with the behavior of other formats, we just ignore the attribute for now.
Details
Details
- Reviewers
DiggerLin shchenz daltenty - Group Reviewers
Restricted Project - Commits
- rG7a70e6e224cd: [XCOFF] ignore the cold attribute.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/MC/MCXCOFFStreamer.cpp | ||
---|---|---|
40 | prefer to add comment here . |
llvm/lib/MC/MCXCOFFStreamer.cpp | ||
---|---|---|
40 | Addressed. Thanks. |
Comment Actions
LGTM
llvm/test/CodeGen/PowerPC/aix-xcoff-cold.ll | ||
---|---|---|
10 | nit: delete the last line ? for the last line not related to the cold attribute, and deleting the line will make the test case more simple and readable. |
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." ?