diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2017-10-06 22:27:31 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2017-10-06 22:27:31 +0000 |
commit | f2fa9ebe3f58eaa963f3ef0e9e2af7ce3ff31e76 (patch) | |
tree | 9d4d9facb665bbe972264654e1ff8ef3ffe2fb9b /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | cc590600631eec93b92d052ea852befed4e30039 (diff) | |
download | llvm-f2fa9ebe3f58eaa963f3ef0e9e2af7ce3ff31e76.zip llvm-f2fa9ebe3f58eaa963f3ef0e9e2af7ce3ff31e76.tar.gz llvm-f2fa9ebe3f58eaa963f3ef0e9e2af7ce3ff31e76.tar.bz2 |
[dwarfdump] Verify that unit type matches root DIE
This patch adds two new verifiers:
- It checks that the root DIE of a CU is actually a valid unit DIE.
(based on its tag)
- For DWARF5 which contains a unit type int he CU header, it checks that
this matches the type of the unit DIE.
Differential revision: https://reviews.llvm.org/D38453
llvm-svn: 315121
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions