[LLVMdev] signed/unsigned integers ?
Julien Henry
Julien.Henry at imag.fr
Tue Mar 29 05:45:40 PDT 2011
> Values cannot be signed or unsigned since they represent some object
> in memory / register. It's the operation which says whether the value
> should be treated as signed or not.
Ok. But typically if I compile a program with a variable of type
"unsigned" and another one of type "int":
void f() {
unsigned x;
int y;
...
}
The compiler remembers for debugging purpose that x is defined as
unsigned, and y as signed, no ? I'm not familiar with LLVM debug info,
but maybe I can find this info there ?
More information about the llvm-dev
mailing list