aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/ASTMerge.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-01-17 21:03:33 +0000
committerGreg Clayton <gclayton@apple.com>2011-01-17 21:03:33 +0000
commitfc75303acb7570f4cc21eaafb60763886a5c20c7 (patch)
tree924111e55fbe0908d153faf8b16f3a821fc72075 /clang/lib/Frontend/ASTMerge.cpp
parentb2a844bfe12af5a52493f85f09ce4e7c260047f6 (diff)
downloadllvm-fc75303acb7570f4cc21eaafb60763886a5c20c7.zip
llvm-fc75303acb7570f4cc21eaafb60763886a5c20c7.tar.gz
llvm-fc75303acb7570f4cc21eaafb60763886a5c20c7.tar.bz2
Avoid infinite loops in stack backtraces and renamed:
bool RegisterContextLLDB::GetPC (addr_t& pc); to: bool RegisterContextLLDB::ReadPC (addr_t& pc); To avoid confusion with the GetPC() function that is part of the lldb_private::RegisterContext: uint64_t RegisterContext::GetPC (uint64_t fail_value); Bad things could happen if the two got intermixed and the wrong one got called. Fixed inifinite loop detection by watching for two frames where the RegisterContextLLDB::CursorSP contains the same start_pc and cfa. llvm-svn: 123673
Diffstat (limited to 'clang/lib/Frontend/ASTMerge.cpp')
0 files changed, 0 insertions, 0 deletions