-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Closed
Closed
Copy link
Labels
clang:codegenIR generation bugs: mangling, exceptions, etc.IR generation bugs: mangling, exceptions, etc.confirmedVerified by a second partyVerified by a second partytest-suite
Description
I've certainly had many encounters with tests that only fail on my machine, but this is the first time the test was specifically out to get me:
To repro
llvm-lit -v ./clang/test/CodeGen/pragma-comment.c
Actual result:
/Volumes/LocalData/Code/Public/bar/llvm-project/clang/test/CodeGen/pragma-comment.c:33:13: error: ELF-NOT: excluded string found in input
// ELF-NOT: bar
^
<stdin>:16:55: note: found here
!6 = !{!"clang version 21.0.0git (https://github.com/dbartol/llvm-project 97e8266172533fe9deb701a0851b442298f0f011)"}
^~~
Input file: <stdin>
Check file: /Volumes/LocalData/Code/Public/bar/llvm-project/clang/test/CodeGen/pragma-comment.c
Expected result
Successful test
AaronBallman
Metadata
Metadata
Assignees
Labels
clang:codegenIR generation bugs: mangling, exceptions, etc.IR generation bugs: mangling, exceptions, etc.confirmedVerified by a second partyVerified by a second partytest-suite
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
pragma-comment.c
test failing on false match #145455AaronBallman commentedon Jun 24, 2025
It's pretty rare that I get a chuckle out of a bug report, but
definitely made me laugh. :-)
Fix `pragma-comment.c` test failing on false match (#145455)
llvmbot commentedon Jun 24, 2025
@llvm/issue-subscribers-clang-codegen
Author: None (hideous-destructor)
To repro
Actual result:
Expected result
Successful test
Fix `pragma-comment.c` test failing on false match (llvm#145455)
Fix `pragma-comment.c` test failing on false match (llvm#145455)
Fix `pragma-comment.c` test failing on false match (llvm#145455)