[PATCH] D45878: [DEBUG INFO] Fixing cases where debug info (-g) causes changes in the program.

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 30 14:59:09 PDT 2018


davide added a subscriber: zhendongsu.
davide added a comment.

FWIW, I hacked up a fuzzer which found already around 20 (possibly with duplicate) changes in debug code due to `-g` being passed around. (cc: @zhendongsu)
It was prodded by the bug Geoff reported on the SLPVectorizer which has been fixed on Friday.
I can try to reduce the issues reported and also try to fix them.
About this change, I tend to agree with Adrian it should be split into multiple/separate patches.
Also, every change should have a test case attached.


https://reviews.llvm.org/D45878





More information about the llvm-commits mailing list