diff options
author | Alexander Yermolovich <ayermolo@meta.com> | 2023-08-14 17:26:40 -0700 |
---|---|---|
committer | Alexander Yermolovich <ayermolo@meta.com> | 2023-08-14 17:27:22 -0700 |
commit | bce5743e2190841973e8e0830d4fff73210f2815 (patch) | |
tree | 91480fecfe515f1582d5f45b42fbac797ff09dd8 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | f29c54998d236c36f047d39aee76c79f933ba363 (diff) | |
download | llvm-bce5743e2190841973e8e0830d4fff73210f2815.zip llvm-bce5743e2190841973e8e0830d4fff73210f2815.tar.gz llvm-bce5743e2190841973e8e0830d4fff73210f2815.tar.bz2 |
[BOLT][DWARF] Fix location list order
This bug crept in when CU partitioning was introduced. It manifests itself when
there are CUs that use location lists that come before CUs that are part of
thin-lto. BOLT processes CUs with cross CU references first (these are produced
by thin-lto). When we wrote out all the location lists we did it in original
order. Since DWARF4 uses offsets directly in to .debug_loc those offsets in DIEs
became wrong.
Reviewed By: Amir
Differential Revision: https://reviews.llvm.org/D157908
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions