Are compilation of both cc1 and cc1plus based on the concept of function?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

If I understand correctly, the compilation of cc1 is based on the
concept of function.
i.e. The first function is parsed and its AST is built. Then, the
function is transformed into RTL and finally it is translated into
assembler code. Once the assembler code is produced for the first
function, the second function is parsed and the same path is followed
for generating the assembler source.

My question is, how about the cc1plus? Since the C++ use class as the
unit of source code, would it also based on the function?

Thanks,
YL



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux