| /** |
| ******************************************************************************** Copyright (c) 2017-2020 Robert Bosch GmbH and others. This program and the accompanying materials are made available |
| * under the terms of the Eclipse Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0/ |
| * SPDX-License-Identifier: EPL-2.0 Contributors: Robert Bosch GmbH - initial API and implementation |
| */ |
| package org.eclipse.app4mc.sca2amalthea.llvm.util; |
| |
| |
| /** |
| * Constants for all the LLVM operations |
| */ |
| public final class SCA2AmaltheaHeadlessConstants { |
| |
| /** |
| * Private constructor |
| */ |
| private SCA2AmaltheaHeadlessConstants() { |
| // Private constructor |
| } |
| |
| /** |
| * |
| */ |
| public static final String PDIR = "-pdir"; |
| /** |
| * |
| */ |
| public static final String TASKINFO = "-taskinfo"; |
| /** |
| * |
| */ |
| public static final String LOCKINFO = "-lockinfo"; |
| /** |
| * |
| */ |
| public static final String OUTDIR = "-outdir"; |
| /** |
| * |
| */ |
| public static final String HDIR_LIST = "-hdirlist"; |
| /** |
| * |
| */ |
| public static final String ASTP = "-astp"; |
| /** |
| * |
| */ |
| public static final String BLOG = "-blog"; |
| /** |
| * |
| */ |
| public static final String DLIST = "-dlist"; |
| |
| /** |
| * |
| */ |
| public static final String OUT_FOLDER = "-out"; |
| |
| /** |
| * |
| */ |
| public static final String ENABLE_STRUCT_MEMBER = "-enableStructMember"; |
| |
| /** |
| * |
| */ |
| public static final String XMLCALLTREE_PATH = "-xmlCallTreePath"; |
| |
| /** |
| * |
| */ |
| public static final String HELP = "-h"; |
| |
| /** |
| * |
| */ |
| public static final String C_PROJECT_DIR_HELP = |
| "Mandatory parameter. This parameter takes path of the root directory of the c project"; |
| |
| /** |
| * |
| */ |
| public static final String AST_PARSER_HELP = |
| "Mandatory parameter if xmlCallTreePath is not provided .This parameter takes path to the LLVM ASTParser executable"; |
| |
| /** |
| * |
| */ |
| public static final String XMLCALLTREE_HELP = |
| "This is a optional parameter and it takes the path of the XMLCallTree.xml to be converted to amalthea model"; |
| |
| /** |
| * |
| */ |
| public static final String BLOG_HELP = "This is a optional parameter and it takes path to the build_cmd.log file"; |
| |
| /** |
| * |
| */ |
| public static final String HDIR_LIST_HELP = |
| "This is a optional parameter and it takes a list of directory paths that contain header files.The directory paths should be seperated by the path seperator ie ;"; |
| |
| |
| /** |
| * |
| */ |
| public static final String TASKINFO_HELP = |
| "This is a optional parameter and it takes path of the task/isr information file"; |
| |
| /** |
| * |
| */ |
| public static final String LOCKINFO_HELP = |
| "This is a optional parameter and it takes path of a csv file containing information of lock functions."; |
| |
| /** |
| * |
| */ |
| public static final String ENABLE_STRUCT_MEMBER_HELP = |
| "This is a optional parameter and it takes a boolean value for reporting struct member accesses in amalthea model."; |
| |
| /** |
| * |
| */ |
| public static final String OUTDIR_HELP = |
| "This is a optional parameter and it takes the path of the directory where the amalthea model has to be stored."; |
| |
| } |