1# Copyright (c) 2021-2024 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14module: 15 name: irtoc 16 namespace: ark::irtoc 17 18options: 19 - name: irtoc-output 20 type: std::string 21 default: "irtoc.o" 22 description: Output file name 23 - name: irtoc-output-llvm 24 type: std::string 25 default: "irtoc_llvm.o" 26 description: Output file name for object file generated by llvm 27 - name: irtoc-llvm-stats 28 type: std::string 29 default: none 30 possible_values: 31 - none 32 - short 33 - full 34 - typed 35 description: Report compilation statistic, where 36 none - disables compilation statistic, 37 short - reports only LLVM_SUFFIX compilation units without dynamic methods which were skipped by LLVM and compiled by Ark, 38 full - reports only skipped by LLVM or compiled by Ark compilation units, and 39 typed - same as full but without dynamic methods 40