mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-20 10:24:12 +00:00
Add a pointer to the owning LLVMContext to Module. This requires threading LLVMContext through a lot
of the bitcode reader and ASM parser APIs, as well as supporting it in all of the tools. Patches for Clang and LLVM-GCC to follow. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74614 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -22,8 +22,9 @@ using namespace llvm;
|
||||
/// CLIDebugger constructor - This initializes the debugger to its default
|
||||
/// state, and initializes the command table.
|
||||
///
|
||||
CLIDebugger::CLIDebugger()
|
||||
: TheProgramInfo(0), TheRuntimeInfo(0), Prompt("(llvm-db) "), ListSize(10) {
|
||||
CLIDebugger::CLIDebugger(LLVMContext* ctxt)
|
||||
: Context(ctxt), TheProgramInfo(0), TheRuntimeInfo(0),
|
||||
Prompt("(llvm-db) "), ListSize(10) {
|
||||
// Initialize instance variables
|
||||
CurrentFile = 0;
|
||||
LineListedStart = 1;
|
||||
|
Reference in New Issue
Block a user