[all-commits] [llvm/llvm-project] 5e156d: [clang] Add clang::nooutline Attribute
Sam Elliott via All-commits
all-commits at lists.llvm.org
Tue Feb 10 21:46:49 PST 2026
Branch: refs/heads/users/lenary/clang-add-nooutline-attr
Home: https://github.com/llvm/llvm-project
Commit: 5e156d45ce83beebab79b96fe33f9d18d60bdd49
https://github.com/llvm/llvm-project/commit/5e156d45ce83beebab79b96fe33f9d18d60bdd49
Author: Sam Elliott <aelliott at qti.qualcomm.com>
Date: 2026-02-11 (Wed, 11 Feb 2026)
Changed paths:
M clang/include/clang/Basic/Attr.td
M clang/lib/CodeGen/CodeGenModule.cpp
A clang/test/CodeGen/attr-nooutline.c
M clang/test/Misc/pragma-attribute-supported-attributes-list.test
A clang/test/Sema/attr-nooutline.c
A clang/test/Sema/attr-nooutline.cpp
Log Message:
-----------
[clang] Add clang::nooutline Attribute
This change:
- Adds a `[[clang::nooutline]]` function attribute for C and C++. There
is no equivalent GNU syntax for this attribute, so no `__attribute__`
syntax.
- Uses the presence of `[[clang::nooutline]]` to add the `nooutline`
attribute to IR function definitions.
- Adds test for the above.
The `nooutline` attribute disables both the Machine Outliner (enabled at
Oz for some targets), and the IR Outliner (disabled by default).
Commit: c20d4c5d4a489e711f407dafb2e24c44524cf624
https://github.com/llvm/llvm-project/commit/c20d4c5d4a489e711f407dafb2e24c44524cf624
Author: Sam Elliott <aelliott at qti.qualcomm.com>
Date: 2026-02-11 (Wed, 11 Feb 2026)
Changed paths:
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
M clang/test/CodeGen/attr-nooutline.c
Log Message:
-----------
Address reviewer feedback: Tests, Docs, TableGen
Commit: 99d640d64e1f6fcc3f4e45300b440f98562e7ce6
https://github.com/llvm/llvm-project/commit/99d640d64e1f6fcc3f4e45300b440f98562e7ce6
Author: Sam Elliott <aelliott at qti.qualcomm.com>
Date: 2026-02-11 (Wed, 11 Feb 2026)
Changed paths:
M clang/docs/ReleaseNotes.rst
Log Message:
-----------
Release Notes
Commit: 2aa680e5a1c55a72a26bab979ed0c5f2dd101cbc
https://github.com/llvm/llvm-project/commit/2aa680e5a1c55a72a26bab979ed0c5f2dd101cbc
Author: Sam Elliott <aelliott at qti.qualcomm.com>
Date: 2026-02-11 (Wed, 11 Feb 2026)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/test/Sema/attr-nooutline.c
M clang/test/Sema/attr-nooutline.cpp
Log Message:
-----------
Address Review Feedback: Flags, Release Notes
Commit: 387662961b013feba392b464996b091299458fb1
https://github.com/llvm/llvm-project/commit/387662961b013feba392b464996b091299458fb1
Author: Sam Elliott <aelliott at qti.qualcomm.com>
Date: 2026-02-11 (Wed, 11 Feb 2026)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
A clang/test/CodeGen/attr-no-outline.c
R clang/test/CodeGen/attr-nooutline.c
A clang/test/CodeGenObjC/attr-no-outline.m
M clang/test/Misc/pragma-attribute-supported-attributes-list.test
A clang/test/Sema/attr-no-outline.c
A clang/test/Sema/attr-no-outline.cpp
R clang/test/Sema/attr-nooutline.c
R clang/test/Sema/attr-nooutline.cpp
Log Message:
-----------
Change spelling to clang::no_outline, more tests
Compare: https://github.com/llvm/llvm-project/compare/a0cf394ff731...387662961b01
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list