aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDjordje Todorovic <djordje.todorovic@syrmia.com>2021-02-18 09:49:44 -0800
committerDjordje Todorovic <djtodoro@cisco.com>2021-02-18 23:29:22 -0800
commit1a2b3536efef20f12c44201c2834a383b7c5c4c2 (patch)
tree3d20e62691eb4fbf5e4fe93d2fb490f7c5fac900 /flang/lib/Frontend/CompilerInvocation.cpp
parentd82ecb0ac72261189ec3a5dccd3ad55aeafe07b4 (diff)
downloadllvm-1a2b3536efef20f12c44201c2834a383b7c5c4c2.zip
llvm-1a2b3536efef20f12c44201c2834a383b7c5c4c2.tar.gz
llvm-1a2b3536efef20f12c44201c2834a383b7c5c4c2.tar.bz2
Reland "[Debugify] Make the debugify aware of the original (-g) Debug Info"
As discussed on the RFC [0], I am sharing the set of patches that enables checking of original Debug Info metadata preservation in optimizations. The proof-of-concept/proposal can be found at [1]. The implementation from the [1] was full of duplicated code, so this set of patches tries to merge this approach into the existing debugify utility. For example, the utility pass in the original-debuginfo-check mode could be invoked as follows: $ opt -verify-debuginfo-preserve -pass-to-test sample.ll Since this is very initial stage of the implementation, there is a space for improvements such as: - Add support for the new pass manager - Add support for metadata other than DILocations and DISubprograms [0] https://groups.google.com/forum/#!msg/llvm-dev/QOyF-38YPlE/G213uiuwCAAJ [1] https://github.com/djolertrk/llvm-di-checker Differential Revision: https://reviews.llvm.org/D82545 The test that was failing is now forced to use the old PM.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions