[libc-commits] [libc] [libc][docs] codify Policy on Assembler Sources (PR #88185)

via libc-commits libc-commits at lists.llvm.org
Tue Apr 9 14:29:48 PDT 2024


================
@@ -186,3 +186,32 @@ We expect contributions to be free of warnings from the `minimum supported
 compiler versions`__ (and newer).
 
 .. __: https://libc.llvm.org/compiler_support.html#minimum-supported-versions
+
+Policy on Assembler sources
+===========================
+
+Coding in high level languages such as C++ provides benefits relative to low
+level languages like Assembler, such as:
+
+* Improved safety
+* Instrumentation
+
+  * Code coverage
+  * Profile collection
+* Sanitization
+* Debug info
+
+While its not impossible to have Assembler code that correctly provides all of
----------------
enh-google wrote:

it's

https://github.com/llvm/llvm-project/pull/88185


More information about the libc-commits mailing list