summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/nested-name-spec.cpp
diff options
context:
space:
mode:
authorMichael Gottesman <mgottesman@apple.com>2013-08-23 00:23:24 +0000
committerMichael Gottesman <mgottesman@apple.com>2013-08-23 00:23:24 +0000
commit823aaffd37ffa837a2b5642d078acfba2deb8f3e (patch)
treedeb13c29c3fde3bc49822969ea293671f9ebd32e /clang/test/SemaCXX/nested-name-spec.cpp
parent4a561c16f5a7a8d7d33d04e5a78556cad993652e (diff)
downloadbcm5719-llvm-823aaffd37ffa837a2b5642d078acfba2deb8f3e.tar.gz
bcm5719-llvm-823aaffd37ffa837a2b5642d078acfba2deb8f3e.zip
Update StripDeadDebugInfo to use DebugInfoFinder so that it is no longer stale to the point of not working and more resilient to debug info changes.
The current version of StripDeadDebugInfo became stale and no longer actually worked since it was expecting an older version of debug info. This patch updates it to use DebugInfoFinder and the modern DebugInfo classes as much as possible to make it more redundent to such changes. Additionally, the only place where that was avoided (the code where we replace the old sets with the new), I call verify on the DIContextUnit implying that if the format changes and my live set changes no longer make sense an assert will be hit. In order to ensure that that occurs I have included a test case. The actual stripping of the dead debug info follows the same strategy as was used before in this class: find the live set and replace the old set in the given compile unit (which may contain dead global variables/functions) with the new live one. llvm-svn: 189078
Diffstat (limited to 'clang/test/SemaCXX/nested-name-spec.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud