[all-commits] [llvm/llvm-project] ea22fd: [Clang][DebugInfo] Cease turning instruction-refer...

Jeremy Morse via All-commits all-commits at lists.llvm.org
Wed Dec 22 08:31:11 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea22fdd120aeb1bbb9ea96670d70193dc02b2c5f
      https://github.com/llvm/llvm-project/commit/ea22fdd120aeb1bbb9ea96670d70193dc02b2c5f
  Author: Jeremy Morse <jeremy.morse at sony.com>
  Date:   2021-12-22 (Wed, 22 Dec 2021)

  Changed paths:
    M clang/include/clang/Basic/CodeGenOptions.def
    M clang/lib/CodeGen/BackendUtil.cpp

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list