Change the way struct CStrings are handled.
commit1c2dfa1f4bb162678c293788678f6790514cb7ba
authorEdmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>
Sat, 21 Nov 2015 11:23:53 +0000 (21 11:23 +0000)
committerEdmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>
Thu, 26 Nov 2015 12:40:50 +0000 (26 12:40 +0000)
tree19839532c07194f05bb5dcba8d5846256dd3eb62
parent4886d2c64002cfa616bf68875a1fc66e27854e9a
Change the way struct CStrings are handled.

A CString used to be copied into a token string, which is an int array.
On a 64-bit architecture the pointers were misaligned, so ASan gave
lots of warnings. On a 64-bit architecture that required memory
accesses to be correctly aligned it would not work at all.

The CString is now included in CValue instead.
TODO
i386-asm.c
tcc.h
tccasm.c
tccgen.c
tccpp.c