aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/clover/llvm/invocation.cpp
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2013-10-06 13:51:01 -0700
committerFrancisco Jerez <[email protected]>2013-10-21 10:47:02 -0700
commitbff60c894a290260ab3dd2086445b44622a2800e (patch)
treeb0f8559fcac8acc38f98313d3de77019ea0359af /src/gallium/state_trackers/clover/llvm/invocation.cpp
parentd8b499428183178885bb182c898ee6f52e92ef03 (diff)
clover: Define helper classes for the new object model.
Tested-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/clover/llvm/invocation.cpp')
-rw-r--r--src/gallium/state_trackers/clover/llvm/invocation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers/clover/llvm/invocation.cpp
index f14222b44e4..4ae496ffb21 100644
--- a/src/gallium/state_trackers/clover/llvm/invocation.cpp
+++ b/src/gallium/state_trackers/clover/llvm/invocation.cpp
@@ -157,7 +157,7 @@ namespace {
opts_carray.data() + opts_carray.size(),
Diags);
if (!Success) {
- throw invalid_option_error();
+ throw error(CL_INVALID_BUILD_OPTIONS);
}
c.getFrontendOpts().ProgramAction = clang::frontend::EmitLLVMOnly;
c.getHeaderSearchOpts().UseBuiltinIncludes = true;