Does anybody know the purpose of test:
projects/test-suite/SingleSource/UnitTests/SignlessTypes/ccc.c
Does anybody know the purpose of test:
projects/test-suite/SingleSource/UnitTests/SignlessTypes/ccc.c
From the comment at the top of the file:
/*
* This file is used to the C calling conventions with signless
* LLVM. Integer arguments in this convention are promoted to at
* least a 32-bit size. Consequently signed values must be
* sign extended and unsigned values must be zero extended to
* at least a 32-bit integer type.
*/
-Gordon
But read the code and then answer the question.
I see what you mean. I'm thinking a bitcode test that somehow ended up in the wrong place. My manager was puzzled for a minute as well, and pointed out that this test isn't referenced anywhere.
Maybe this is a test to make sure that when you don't compile a test or run it, the expected output file stays the same?
Or maybe it tests that LLVM hasn't become self-aware and begun compiling every .c file on the hard drive?
-Gordon