[Clang][DebugInfo] Cease turning instruction-referencing off by default
authorJeremy Morse <jeremy.morse@sony.com>
Wed, 22 Dec 2021 16:13:29 +0000 (16:13 +0000)
committerJeremy Morse <jeremy.morse@sony.com>
Wed, 22 Dec 2021 16:30:05 +0000 (16:30 +0000)
commitea22fdd120aeb1bbb9ea96670d70193dc02b2c5f
tree944ed39b40740ee4d789014437a0450f73e602d6
parenta364e8f6adeb4b42296413b6112a8bdfbd2ea116
[Clang][DebugInfo] Cease turning instruction-referencing off by default

Over in D114631 I turned this debug-info feature on by default, for x86_64
only. I'd previously stripped out the clang cc1 option that controlled it
in 651122fc4ac, unfortunately that turned out to not be completely
effective, and the two things deleted in this patch continued to keep it
off-by-default.  Oooff.

As a follow-up, this patch removes the last few things to do with
ValueTrackingVariableLocations from clang, which was the original purpose
of D114631. In an ideal world, if this patch causes you trouble you'd
revert 3c045070882f instead, which was where this behaviour was supposed
to start being the default, although that might not be practical any more.
clang/include/clang/Basic/CodeGenOptions.def
clang/lib/CodeGen/BackendUtil.cpp