Support for OCaml native debugging
authorTamas Berghammer <tberghammer@google.com>
Tue, 2 Aug 2016 11:15:55 +0000 (11:15 +0000)
committerTamas Berghammer <tberghammer@google.com>
Tue, 2 Aug 2016 11:15:55 +0000 (11:15 +0000)
commit00adc413702e0c7f1fef76ae2e3653b2c2b95b9c
treefa15e5133ebdb92a4ba8e8ed3156393c537393a8
parentadedac68dc300cb87eccfb9735d00325727ac58a
Support for OCaml native debugging

This introduces basic support for debugging OCaml binaries.
Use of the native compiler with DWARF emission support (see
https://github.com/ocaml/ocaml/pull/574) is required.

Available variables are considered as 64 bits unsigned integers,
their interpretation will be left to a OCaml-made debugging layer.

Differential revision: https://reviews.llvm.org/D22132

llvm-svn: 277443
14 files changed:
lldb/cmake/LLDBDependencies.cmake
lldb/include/lldb/Symbol/OCamlASTContext.h [new file with mode: 0644]
lldb/include/lldb/Symbol/TypeSystem.h
lldb/source/API/SystemInitializerFull.cpp
lldb/source/Plugins/Language/CMakeLists.txt
lldb/source/Plugins/Language/OCaml/CMakeLists.txt [new file with mode: 0644]
lldb/source/Plugins/Language/OCaml/OCamlLanguage.cpp [new file with mode: 0644]
lldb/source/Plugins/Language/OCaml/OCamlLanguage.h [new file with mode: 0644]
lldb/source/Plugins/SymbolFile/DWARF/CMakeLists.txt
lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserOCaml.cpp [new file with mode: 0644]
lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserOCaml.h [new file with mode: 0644]
lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
lldb/source/Symbol/CMakeLists.txt
lldb/source/Symbol/OCamlASTContext.cpp [new file with mode: 0644]