OSDN Git Service

[DebugInfo] Fix location list check in the verifier
authorJonas Devlieghere <jonas@devlieghere.com>
Tue, 22 May 2018 17:37:27 +0000 (17:37 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Tue, 22 May 2018 17:37:27 +0000 (17:37 +0000)
commit2c6a6699c3b352a68342e97d1c9e7eedd336edc8
tree10fc3b4f9d3d9daf6c19a4203bf8330d321d563b
parent04a387aa0f56dcf4b40e52414e948ea04aa80a38
[DebugInfo] Fix location list check in the verifier

We weren't properly verifying location lists because we tried obtaining
the offset as a constant.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@333005 91177308-0d34-0410-b5e6-96231b3b80d8
lib/DebugInfo/DWARF/DWARFVerifier.cpp