- Dec 07, 2020
-
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
We don't want to leave a partial assembly output if the compiler fails during compilation. Technically speaking, there's still a risk of leaving a partially- written output file if the compiler dies during file copy. To fix that, we have to write to a temporary file in the same filesystem as the final output file and rename the temporary file to atomically replace the output file. We don't do that in this patch for the sake of succinctness, though.
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
- Oct 15, 2020
-
-
Rui Ueyama authored
With these directives, gdb can print out an error location when a compiled program crashes.
-
- Oct 08, 2020
-
-
Rui Ueyama authored
-
Rui Ueyama authored
-
- Oct 07, 2020
-
-
Rui Ueyama authored
No functional change
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
Now, chibicc can print out an error message with an error location like this: $ ./chibicc 1+foo 1+foo ^ expected a number
-
Rui Ueyama authored
-
- Sep 13, 2020
-
-
Rui Ueyama authored
-
Rui Ueyama authored
-