Displaying 1 result from an estimated 1 matches for "1059003".
Did you mean:
1.059003
2016 Oct 07
7
Debug info interacting with optimization and code generation
In theory, compiler should generate bit-identical code with and without
debug info. I.e.
# clang -c -O2 -g a.cc -o a.g.o
# clang -c -O2 -g0 a.cc -o a.g0.o
# strip a.g.o a.g0.o
# diff a.g.o a.g0.o
The diff should find two binaries identical. For brevity, in the rest of
the mail, I'll refer to this requirement as "codegen consistency" (any
better name?)
Unfortunately, LLVM does not