aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2014-02-26 22:26:40 +0000
committerDimitry Andric <dim@FreeBSD.org>2014-02-26 22:26:40 +0000
commitbdc74e2bc0d4d7802fd6782439a1da3e6a0a04d4 (patch)
treec09cd2cd8b06020ff76cb9b8f704cb7490621bcd /lib
parenta7ba6e6eb5440a41521fdd8172b453096180adae (diff)
parentf0455d6562807f6477def944d2d2c525f1fc300e (diff)
downloadsrc-bdc74e2bc0d4d7802fd6782439a1da3e6a0a04d4.tar.gz
src-bdc74e2bc0d4d7802fd6782439a1da3e6a0a04d4.zip
Merge from head up to r262536.
Notes
Notes: svn path=/projects/clang-sparc64/; revision=262537
Diffstat (limited to 'lib')
-rw-r--r--lib/clang/liblldbAPI/Makefile3
-rw-r--r--lib/clang/liblldbCommands/Makefile1
-rw-r--r--lib/clang/liblldbCore/Makefile4
-rw-r--r--lib/clang/liblldbHostCommon/Makefile1
-rw-r--r--lib/clang/liblldbTarget/Makefile4
-rw-r--r--lib/libvmmapi/vmmapi.c29
-rw-r--r--lib/libvmmapi/vmmapi.h6
7 files changed, 24 insertions, 24 deletions
diff --git a/lib/clang/liblldbAPI/Makefile b/lib/clang/liblldbAPI/Makefile
index ed1b3b6ad8d9..d041d092182b 100644
--- a/lib/clang/liblldbAPI/Makefile
+++ b/lib/clang/liblldbAPI/Makefile
@@ -25,7 +25,6 @@ SRCS= SBAddress.cpp \
SBFrame.cpp \
SBFunction.cpp \
SBHostOS.cpp \
- SBInputReader.cpp \
SBInstruction.cpp \
SBInstructionList.cpp \
SBLineEntry.cpp \
@@ -34,6 +33,8 @@ SRCS= SBAddress.cpp \
SBModuleSpec.cpp \
SBPlatform.cpp \
SBProcess.cpp \
+ SBQueue.cpp \
+ SBQueueItem.cpp \
SBSection.cpp \
SBSourceManager.cpp \
SBStream.cpp \
diff --git a/lib/clang/liblldbCommands/Makefile b/lib/clang/liblldbCommands/Makefile
index 6709017bb4b5..f7baf8397a28 100644
--- a/lib/clang/liblldbCommands/Makefile
+++ b/lib/clang/liblldbCommands/Makefile
@@ -14,6 +14,7 @@ SRCS= CommandCompletions.cpp \
CommandObjectDisassemble.cpp \
CommandObjectExpression.cpp \
CommandObjectFrame.cpp \
+ CommandObjectGUI.cpp \
CommandObjectHelp.cpp \
CommandObjectLog.cpp \
CommandObjectMemory.cpp \
diff --git a/lib/clang/liblldbCore/Makefile b/lib/clang/liblldbCore/Makefile
index f11aa58b5243..e0335f4e3a9a 100644
--- a/lib/clang/liblldbCore/Makefile
+++ b/lib/clang/liblldbCore/Makefile
@@ -32,9 +32,7 @@ SRCS= Address.cpp \
FileLineResolver.cpp \
FileSpecList.cpp \
History.cpp \
- InputReader.cpp \
- InputReaderEZ.cpp \
- InputReaderStack.cpp \
+ IOHandler.cpp \
Language.cpp \
Listener.cpp \
Log.cpp \
diff --git a/lib/clang/liblldbHostCommon/Makefile b/lib/clang/liblldbHostCommon/Makefile
index e2a01cdeac1c..f2022bbf1103 100644
--- a/lib/clang/liblldbHostCommon/Makefile
+++ b/lib/clang/liblldbHostCommon/Makefile
@@ -7,6 +7,7 @@ LIB= lldbHostCommon
SRCDIR= tools/lldb/source/Host/common
SRCS= Condition.cpp \
DynamicLibrary.cpp \
+ Editline.cpp \
File.cpp \
FileSpec.cpp \
Host.cpp \
diff --git a/lib/clang/liblldbTarget/Makefile b/lib/clang/liblldbTarget/Makefile
index 890663e1402f..2e0226d59754 100644
--- a/lib/clang/liblldbTarget/Makefile
+++ b/lib/clang/liblldbTarget/Makefile
@@ -17,7 +17,11 @@ SRCS= ABI.cpp \
PathMappingList.cpp \
Platform.cpp \
Process.cpp \
+ Queue.cpp \
+ QueueItem.cpp \
+ QueueList.cpp \
RegisterContext.cpp \
+ SectionLoadHistory.cpp \
SectionLoadList.cpp \
StackFrame.cpp \
StackFrameList.cpp \
diff --git a/lib/libvmmapi/vmmapi.c b/lib/libvmmapi/vmmapi.c
index eba33672f07c..7198c99eef78 100644
--- a/lib/libvmmapi/vmmapi.c
+++ b/lib/libvmmapi/vmmapi.c
@@ -343,35 +343,32 @@ vm_run(struct vmctx *ctx, int vcpu, uint64_t rip, struct vm_exit *vmexit)
}
static int
-vm_inject_event_real(struct vmctx *ctx, int vcpu, enum vm_event_type type,
- int vector, int error_code, int error_code_valid)
+vm_inject_exception_real(struct vmctx *ctx, int vcpu, int vector,
+ int error_code, int error_code_valid)
{
- struct vm_event ev;
+ struct vm_exception exc;
- bzero(&ev, sizeof(ev));
- ev.cpuid = vcpu;
- ev.type = type;
- ev.vector = vector;
- ev.error_code = error_code;
- ev.error_code_valid = error_code_valid;
+ bzero(&exc, sizeof(exc));
+ exc.cpuid = vcpu;
+ exc.vector = vector;
+ exc.error_code = error_code;
+ exc.error_code_valid = error_code_valid;
- return (ioctl(ctx->fd, VM_INJECT_EVENT, &ev));
+ return (ioctl(ctx->fd, VM_INJECT_EXCEPTION, &exc));
}
int
-vm_inject_event(struct vmctx *ctx, int vcpu, enum vm_event_type type,
- int vector)
+vm_inject_exception(struct vmctx *ctx, int vcpu, int vector)
{
- return (vm_inject_event_real(ctx, vcpu, type, vector, 0, 0));
+ return (vm_inject_exception_real(ctx, vcpu, vector, 0, 0));
}
int
-vm_inject_event2(struct vmctx *ctx, int vcpu, enum vm_event_type type,
- int vector, int error_code)
+vm_inject_exception2(struct vmctx *ctx, int vcpu, int vector, int errcode)
{
- return (vm_inject_event_real(ctx, vcpu, type, vector, error_code, 1));
+ return (vm_inject_exception_real(ctx, vcpu, vector, errcode, 1));
}
int
diff --git a/lib/libvmmapi/vmmapi.h b/lib/libvmmapi/vmmapi.h
index 4a3db5d5be69..dcb5a98cfb27 100644
--- a/lib/libvmmapi/vmmapi.h
+++ b/lib/libvmmapi/vmmapi.h
@@ -62,10 +62,8 @@ int vm_get_register(struct vmctx *ctx, int vcpu, int reg, uint64_t *retval);
int vm_run(struct vmctx *ctx, int vcpu, uint64_t rip,
struct vm_exit *ret_vmexit);
int vm_apicid2vcpu(struct vmctx *ctx, int apicid);
-int vm_inject_event(struct vmctx *ctx, int vcpu, enum vm_event_type type,
- int vector);
-int vm_inject_event2(struct vmctx *ctx, int vcpu, enum vm_event_type type,
- int vector, int error_code);
+int vm_inject_exception(struct vmctx *ctx, int vcpu, int vec);
+int vm_inject_exception2(struct vmctx *ctx, int vcpu, int vec, int errcode);
int vm_lapic_irq(struct vmctx *ctx, int vcpu, int vector);
int vm_lapic_local_irq(struct vmctx *ctx, int vcpu, int vector);
int vm_lapic_msi(struct vmctx *ctx, uint64_t addr, uint64_t msg);