aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2018-06-04 00:11:48 +0000
committerVedant Kumar <vsk@apple.com>2018-06-04 00:11:48 +0000
commitf0e4321c306beb96e09b2b604b508751070204c4 (patch)
tree62372c5bb028db336de7c964952fba4cbfd8b19d /llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
parent36b89d44566086f9508e15123f9422d9bc96592c (diff)
downloadllvm-f0e4321c306beb96e09b2b604b508751070204c4.zip
llvm-f0e4321c306beb96e09b2b604b508751070204c4.tar.gz
llvm-f0e4321c306beb96e09b2b604b508751070204c4.tar.bz2
[opt] Add a -strip-module-flags option
The -strip-module-flags option strips llvm.module.flags metadata from a module at the beginning of the opt pipeline. This will be used to test whether the output of a pass is debug info (DI) invariant. E.g, after applying synthetic debug info to a test case, we'd like to strip out all DI-related metadata and check that the final IR is identical to a baseline file without any DI applied, to check that optimizations aren't inhibited by debug info. llvm-svn: 333860
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp')
0 files changed, 0 insertions, 0 deletions