Compiler device and compiling method
Abstract:
The objective of the present invention is to prevent a conflict between variable names and unintended overwriting of data when a plurality of programs that define shared variables exist. A compiler device (12) includes: an identifier acquisition part (121a) for acquiring an identifier of a first user program; a shared variable name generation part (121b) for generating a shared variable name that includes a variable name of a shared variable and the identifier; a conversion part (121c) for converting the first user program to machine language; and an address determination part (122a) for determining an address of the shared variable. The address determination part (122a) associates the shared variable name and the address of the shared variable with each other and embeds these in the first user program that has been converted to machine language.
Public/Granted literature
Information query
Patent Agency Ranking
0/0