aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorJorge Gorbe Moya <jgorbe@google.com>2021-02-05 18:00:26 -0800
committerJorge Gorbe Moya <jgorbe@google.com>2021-02-23 13:26:11 -0800
commit979ca1c05f83114483caec3e6d1b75daae86da79 (patch)
tree33444a88d1c3c58901a7e8af8de9309c2aedeb67 /llvm/lib/IR/Module.cpp
parent17fa9198471eb559aa772df92484516aee1dbf87 (diff)
downloadllvm-979ca1c05f83114483caec3e6d1b75daae86da79.zip
llvm-979ca1c05f83114483caec3e6d1b75daae86da79.tar.gz
llvm-979ca1c05f83114483caec3e6d1b75daae86da79.tar.bz2
Defer the decision whether to use the CU or TU index until after reading the unit header.
In DWARF v4 compile units go in .debug_info and type units go in .debug_types. However, in v5 both kinds of units are in .debug_info. Therefore we can't decide whether to use the CU or TU index just by looking at which section we're reading from. We have to wait until we have read the unit type from the header. Differential Revision: https://reviews.llvm.org/D96194
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions