File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
offload/test/tools/offload-tblgen Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ def : Function {
34
34
35
35
// CHECK-VALIDATION: FunctionA_val
36
36
// CHECK-VALIDATION: if (NULL == ParamHandle)
37
- // CHECK-VALIDATION-NEXT: return OL_ERRC_INVALID_NULL_HANDLE ;
37
+ // CHECK-VALIDATION-NEXT: return createOffloadError(error::ErrorCode::INVALID_NULL_HANDLE, "validation failure: NULL == ParamHandle") ;
38
38
// CHECK-VALIDATION: if (NULL == ParamPointer)
39
- // CHECK-VALIDATION-NEXT: return OL_ERRC_INVALID_NULL_POINTER ;
39
+ // CHECK-VALIDATION-NEXT: return createOffloadError(error::ErrorCode::INVALID_NULL_POINTER, "validation failure: NULL == ParamPointer") ;
40
40
// CHECK-VALIDATION-NOT: if (NULL == ParamPointerOpt)
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ def : Function {
28
28
// CHECK: if (offloadConfig().TracingEnabled) {
29
29
// CHECK-NEXT: "---> FunctionA";
30
30
31
- // CHECK: Result = FunctionA_val(ParamA, ParamB);
31
+ // CHECK: Result = llvmErrorToOffloadError( FunctionA_val(ParamA, ParamB) );
32
32
33
33
// Tracing should construct a param struct for printing
34
34
// CHECK: if (offloadConfig().TracingEnabled) {
You can’t perform that action at this time.
0 commit comments