aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFObjectFile.cpp
diff options
context:
space:
mode:
authorsmanna12 <soumi.manna@intel.com>2024-04-02 20:59:48 -0700
committerGitHub <noreply@github.com>2024-04-02 22:59:48 -0500
commit324436c29ffd14bcf96c94500d5e43391f2b1e51 (patch)
tree182fc3188790499f053f57e070b7e45bece89d60 /llvm/lib/Object/COFFObjectFile.cpp
parent83402c301982dc672e8996e1a33e7c4abf109044 (diff)
downloadllvm-324436c29ffd14bcf96c94500d5e43391f2b1e51.zip
llvm-324436c29ffd14bcf96c94500d5e43391f2b1e51.tar.gz
llvm-324436c29ffd14bcf96c94500d5e43391f2b1e51.tar.bz2
[Clang] Fix bugs the way we handle duplicate vs conflicting values with loop attribute 'code_align' (#87372)
https://github.com/llvm/llvm-project/pull/70762 added support for new loop attribute [[clang::code_align()]]. This patch fixes bugs for the test cases below that misses diagnostics due to discontinue to while loop during checking duplicate vs conflicting code_align attribute values in routine CheckForDuplicateLoopAttrs(). [[clang::code_align(4)]] [[clang::code_align(4)]] [[clang::code_align(8)]] for(int I=0; I<128; ++I) { bar(I); } [[clang::code_align(4)]] [[clang::code_align(4)]] [[clang::code_align(8)]] [[clang::code_align(32)]] for(int I=0; I<128; ++I) { bar(I); }
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions