[PATCH] D69809: Wrong debug info generated at -O2 (-O0 is correct)

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 5 18:02:21 PST 2019


davide requested changes to this revision.
davide added a comment.
This revision now requires changes to proceed.

uh, how can this possibly work?

  [1/47] Building CXX object lib/Transforms/InstCombine/CMakeFiles/LLVMInstCombine.dir/InstructionCombining.cpp.o
  /Users/dcci/work/llvm-mono/llvm-project/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp:3237:33: warning: if statement has empty body [-Wempty-body]
        if (!salvageDebugInfo(*I));
                                  ^
  /Users/dcci/work/llvm-mono/llvm-project/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp:3237:33: note: put the semicolon on a separate line to silence this warning
  1 warning generated.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69809/new/

https://reviews.llvm.org/D69809





More information about the llvm-commits mailing list