This patch adds support for running the DWARF verifier on the linked
debug info files. If the -verify options is specified and verification
fails, dsymutil exists with abort with non-zero exit code. This behavior
is *not* enabled by default.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
tools/dsymutil/dsymutil.cpp | ||
---|---|---|
105 | This looks like an unrelated formatting change? |
test/tools/dsymutil/X86/verify.test | ||
---|---|---|
4 | Thanks! I had copied this from another test where the flat mode mattered and output was written to the temp folder. It's not necessary for this test so we don't need the copies. | |
tools/dsymutil/dsymutil.cpp | ||
105 | Jup, this was unintentional. In addition to git clang-format before uploading the patch, I usually format new code in my editor by visually selecting it. However if you're in normal mode, it formats the whole file which is what must have happened here. |
tools/dsymutil/dsymutil.cpp | ||
---|---|---|
210 | should this be gated by --verbose ? |
Why are the copies needed?