6.2.1 /Inline_from and /ipa_from Qualifiers

The following list shows the /inline_from and /ipa_from qualifiers:

/inline_from_files=<list> [/inff]
/inline_from_libraries=<list> [/infl]
/ipa_from_files=<list> [/ipaff]
/ipa_from_libraries=<list> [/ipafl]

Where <list> is one or more of the following: source file name, library file name, directory, separated by commas.

The default is the current source file. You can distinguish types of files by their extensions. The /inline_from_files=xj.c,yy.c,[- .mrtn] would look for functions in the C source files xj.c and yy.c , and in C source files in the directory [-.mrtn] . All source files that contain C preprocessor directives must be preprocessed by cc before being inlined.

The /..._libraries versions of these qualifiers take as their arguments lists of function libraries and directories containing such libraries.

KAP recognizes the type of file from its extension, or lack of one, as follows:

.c - C source
.klib - Library from /inline_create/-ipa_create (see Section 6.2.2)
other - Directory

Two special abbreviations are defined:

"-" - The current source file (as listed on the command line, or specified in a /input=(<file>) command qualifier .
"." - The current working directory. Specifying a nonexistent file or directory is a command-line error.

If multiple /inline_from... [/ipa_from...] qualifiers are given, their lists are concatenated to get a bigger universe.

Function name references are resolved by a search in the order that files appear in /inline_from... /ipa_from... qualifiers on the command line. Libraries are searched in their original lexical order. Multiple /inline_from... /ipa_from... lists are searched in the order that they appear on the command line.

Previous Page Next Page Contents Index
Command-Line Qualifiers