diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-04-24 15:04:28 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-04-24 15:04:28 +0000 |
| commit | 03a04a58ea4a1200ce6773735f44c2d26e4d88a5 (patch) | |
| tree | 33b6a7ea11cc1f1779e34b3ddba920f45bbab3fa /lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp | |
| parent | 28e457bccd6d1dd6ba91d36253073372a1bb5d75 (diff) | |
| download | llvm-03a04a58ea4a1200ce6773735f44c2d26e4d88a5.zip llvm-03a04a58ea4a1200ce6773735f44c2d26e4d88a5.tar.gz llvm-03a04a58ea4a1200ce6773735f44c2d26e4d88a5.tar.bz2 | |
BitcodeReader: Delay metadata parsing until reading a function body
There's hardly any functionality change here. Instead of calling
materializeMetadata on the first call to materialize(GlobalValue*), wait
until the first one that's actually going to do something. Noticed by
inspection; I don't have a concrete case where this makes a difference.
Added an assertion in materializeMetadata to be sure this (or a future
change) doesn't delay materializeMetadata after function-level metadata.
llvm-svn: 267345
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp')
0 files changed, 0 insertions, 0 deletions
