summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-10-14 12:49:06 +0000
committerPavel Labath <pavel@labath.sk>2019-10-14 12:49:06 +0000
commit5a8db8496440b9d6ced91bd24f4b6b463acc7d55 (patch)
treed602a72211918cdd144fd027fc5b8036d76d00e6 /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
parent1a21f98ac3c57d027908000b8bac356daec51416 (diff)
downloadbcm5719-llvm-5a8db8496440b9d6ced91bd24f4b6b463acc7d55.tar.gz
bcm5719-llvm-5a8db8496440b9d6ced91bd24f4b6b463acc7d55.zip
DWARFExpression: Fix/add support for (v4) debug_loc base address selection entries
The DWARFExpression is parsing the location lists in about five places. Of those, only one actually had proper support for base address selection entries. Since r374600, llvm has started to produce location expressions with base address selection entries more aggresively, which caused some tests to fail. This patch adds support for these entries to the places which had it missing, fixing the failing tests. It also adds a targeted test for the two of the three fixes, which should continue testing this functionality even if the llvm output changes. I am not aware of a way to write a targeted test for the third fix (DWARFExpression::Evaluate). llvm-svn: 374769
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud