Skip to content

Commit 96c0226

Browse files
authored
[Comgr] Re-populate DataAction options for second compilation (llvm#1130)
2 parents 7addc35 + 3fc3e7b commit 96c0226

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

amd/comgr/test/name_expression_map_test.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,9 @@ int main(int argc, char *argv[]) {
293293
Status = amd_comgr_create_data_set(&DataSetReloc2);
294294
checkError(Status, "amd_comgr_create_data_set");
295295

296+
Status = amd_comgr_action_info_set_option_list(DataAction, CompileOptions,
297+
CompileOptionsCount);
298+
checkError(Status, "amd_comgr_action_info_set_option_list");
296299
Status = amd_comgr_do_action(AMD_COMGR_ACTION_COMPILE_SOURCE_TO_RELOCATABLE,
297300
DataAction, DataSetIn, DataSetReloc2);
298301
checkError(Status, "amd_comgr_do_action");

0 commit comments

Comments
 (0)