diff options
author | Alexander Yermolovich <ayermolo@meta.com> | 2023-08-14 17:28:09 -0700 |
---|---|---|
committer | Alexander Yermolovich <ayermolo@meta.com> | 2023-08-14 17:28:24 -0700 |
commit | 2c784f7d26850529642dd849afecfd7e5d00a49a (patch) | |
tree | b97d615a11bf20fafad3da684a7b9eeae05b7067 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | bce5743e2190841973e8e0830d4fff73210f2815 (diff) | |
download | llvm-2c784f7d26850529642dd849afecfd7e5d00a49a.zip llvm-2c784f7d26850529642dd849afecfd7e5d00a49a.tar.gz llvm-2c784f7d26850529642dd849afecfd7e5d00a49a.tar.bz2 |
[BOLT][DWARF] Fix handling of invalid DIE references
Compiler can generate DIE References that are invalid. Previously BOLT could
assert when writing out IR to .debug_info. Changed where DIE offsets are changed
so that it's always done. Thus making sure that assert is not triggered.
Added more specific warnings, and ability to print out invalid referenced DIE
offset when verbosity >=1.
Reviewed By: Amir
Differential Revision: https://reviews.llvm.org/D157746
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions