Skip to content

v0.5.5 fix sccache bug for dwo file generate

Compare
Choose a tag to compare
@zhouronghua zhouronghua released this 29 Sep 11:17
· 278 commits to main since this release

when output dir changed, and -g -gsplit-dwarf is enabled, new object file should be gererated, but not old cached object.

case:

1 echo "int test(){}" > test.cc

2 mkdir o1 o2

3 sccache -c -g -gsplit-dwarf test.cc -o o1/test.o

4 sccache -z

5 sccache -c -g -gsplit-dwarf test.cc -o o2/test.o

6 strings o2/test.o |grep o2/test.dwo

Full Changelog: v0.5.4...v0.5.5