diff options
Diffstat (limited to 'appendixa/gcc-desc.xml')
-rw-r--r-- | appendixa/gcc-desc.xml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/appendixa/gcc-desc.xml b/appendixa/gcc-desc.xml index 9881a2ed1..4a7bce989 100644 --- a/appendixa/gcc-desc.xml +++ b/appendixa/gcc-desc.xml @@ -20,7 +20,13 @@ file from one or more of these compiler generated object files.</para></sect4> gcc etc.</para></sect4> <sect4><title>c++filt</title> -<para>c++filt is used to demangle C++ symbols.</para></sect4> +<para>The C++ language provides function overloading, which means that it is +possible to write many functions with the same name (providing each takes +parameters of different types). All C++ function names are encoded into +a low-level assembly label (this process is known as mangling). The c++filt +program does the inverse mapping: it decodes (demangles) low-level names +into user-level names so that the linker can keep these overloaded functions +from clashing.</para></sect4> <sect4><title>collect2</title> <para>collect2 assists with the compilation of constructors.</para></sect4> |