-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rudimentary name mangling support #4267
Commits on Sep 6, 2024
-
Refactor name mangling into a separate class
In preparation for adding broader name mangling support.
Configuration menu - View commit details
-
Copy full SHA for 450a2a2 - Browse repository at this point
Copy the full SHA 450a2a2View commit details -
_C was chosen without special care or consideration - that C++ didn't choose _C for the itanium mangling probably says it's not the best letter to pick, but we don't have any particular detail about how different languages have chosen their mangling prefixes or other conflict avoidance.
Configuration menu - View commit details
-
Copy full SHA for 5ef42c7 - Browse repository at this point
Copy the full SHA 5ef42c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for b879dc7 - Browse repository at this point
Copy the full SHA b879dc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for b692032 - Browse repository at this point
Copy the full SHA b692032View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69d25d7 - Browse repository at this point
Copy the full SHA 69d25d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 21a6391 - Browse repository at this point
Copy the full SHA 21a6391View commit details -
Configuration menu - View commit details
-
Copy full SHA for c31e8c2 - Browse repository at this point
Copy the full SHA c31e8c2View commit details -
* mangle the fully qualified name of the class doing the implementing * do not mangle the qualifiers of the interfaces yet
Configuration menu - View commit details
-
Copy full SHA for d6d2263 - Browse repository at this point
Copy the full SHA d6d2263View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5feca3d - Browse repository at this point
Copy the full SHA 5feca3dView commit details -
Add vertical whitespace to toolchain/lower/mangler.h
Co-authored-by: Jon Ross-Perkins <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 04b6dc3 - Browse repository at this point
Copy the full SHA 04b6dc3View commit details -
Rename class_node -> class_info
Co-authored-by: Jon Ross-Perkins <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 12f35d4 - Browse repository at this point
Copy the full SHA 12f35d4View commit details -
Avoid unnecessary package namespace lookup
Co-authored-by: Jon Ross-Perkins <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 26f1b4b - Browse repository at this point
Copy the full SHA 26f1b4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d6b07e - Browse repository at this point
Copy the full SHA 6d6b07eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c064332 - Browse repository at this point
Copy the full SHA c064332View commit details -
Configuration menu - View commit details
-
Copy full SHA for c56c4f9 - Browse repository at this point
Copy the full SHA c56c4f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7438817 - Browse repository at this point
Copy the full SHA 7438817View commit details -
Configuration menu - View commit details
-
Copy full SHA for adc0aba - Browse repository at this point
Copy the full SHA adc0abaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c5cf62 - Browse repository at this point
Copy the full SHA 2c5cf62View commit details -
Configuration menu - View commit details
-
Copy full SHA for 248ca95 - Browse repository at this point
Copy the full SHA 248ca95View commit details -
Use data iteration instead of a while loop for name printing.
Laying the foundation for removing the recursion from the mangler. (also fixes the nested switch type, which didn't compile)
Configuration menu - View commit details
-
Copy full SHA for c835a9e - Browse repository at this point
Copy the full SHA c835a9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b86c11c - Browse repository at this point
Copy the full SHA b86c11cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 08c2576 - Browse repository at this point
Copy the full SHA 08c2576View commit details -
Configuration menu - View commit details
-
Copy full SHA for e08c432 - Browse repository at this point
Copy the full SHA e08c432View commit details -
Configuration menu - View commit details
-
Copy full SHA for e169dc7 - Browse repository at this point
Copy the full SHA e169dc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d81cb5 - Browse repository at this point
Copy the full SHA 7d81cb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ab771e - Browse repository at this point
Copy the full SHA 6ab771eView commit details -
Use const ref to avoid accidental copy
Co-authored-by: Jon Ross-Perkins <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6e199a0 - Browse repository at this point
Copy the full SHA 6e199a0View commit details -
Rename name_id to name_scope_id
Co-authored-by: Jon Ross-Perkins <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e9f2cdd - Browse repository at this point
Copy the full SHA e9f2cddView commit details -
Co-authored-by: Jon Ross-Perkins <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a73c68e - Browse repository at this point
Copy the full SHA a73c68eView commit details -
Clarify entry point return type comment
Co-authored-by: Jon Ross-Perkins <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2468626 - Browse repository at this point
Copy the full SHA 2468626View commit details -
Co-authored-by: Jon Ross-Perkins <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 004099a - Browse repository at this point
Copy the full SHA 004099aView commit details -
Co-authored-by: Jon Ross-Perkins <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c4d4be0 - Browse repository at this point
Copy the full SHA c4d4be0View commit details -
Rephrase comment, avoiding 'extern' terminology
Co-authored-by: Jon Ross-Perkins <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cbdb9cf - Browse repository at this point
Copy the full SHA cbdb9cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 89e1301 - Browse repository at this point
Copy the full SHA 89e1301View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb13336 - Browse repository at this point
Copy the full SHA fb13336View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a25c6f - Browse repository at this point
Copy the full SHA 2a25c6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 071f514 - Browse repository at this point
Copy the full SHA 071f514View commit details -
Continue mangling, even once reaching the package name
This had been causing mangling to stop for impls, after reaching the package level of the first part of the name - missing the second part of the name.
Configuration menu - View commit details
-
Copy full SHA for 7cec2ef - Browse repository at this point
Copy the full SHA 7cec2efView commit details -
Comment formatting/sentencification
Co-authored-by: Jon Ross-Perkins <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c99163d - Browse repository at this point
Copy the full SHA c99163dView commit details -
Ignore the scope an impl is defined in
only the constraint and interface uniquely identify an impl
Configuration menu - View commit details
-
Copy full SHA for 24ba431 - Browse repository at this point
Copy the full SHA 24ba431View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d7f262 - Browse repository at this point
Copy the full SHA 3d7f262View commit details -
Co-authored-by: Carbon Infra Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 843b021 - Browse repository at this point
Copy the full SHA 843b021View commit details -
Remove unnecessary clear() call
Co-authored-by: Jon Ross-Perkins <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2ea5b0c - Browse repository at this point
Copy the full SHA 2ea5b0cView commit details -
Simplify code with pop_back_val()
Co-authored-by: Jon Ross-Perkins <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1c215f2 - Browse repository at this point
Copy the full SHA 1c215f2View commit details -
Co-authored-by: Carbon Infra Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 10f0633 - Browse repository at this point
Copy the full SHA 10f0633View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fefc7d - Browse repository at this point
Copy the full SHA 0fefc7dView commit details