[libc-commits] [libc] [llvm] [libc] Allow each function can have extra attributes by defining LLVM_LIBC_FUNCTION_ATTR_func macro. (PR #116160)

Alexey Samsonov via libc-commits libc-commits at lists.llvm.org
Wed Nov 20 09:25:14 PST 2024


================
@@ -59,7 +59,7 @@ def libc_function(
         srcs,
         weak = False,
         copts = None,
-        local_defines = None,
+        local_defines = [],
----------------
vonosmas wrote:

I would propose to remove this argument altogether - I don't think it has uses now, and we don't want it to be used in the future - and favor the more uniform build of all `libc_function`s instead.

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


More information about the libc-commits mailing list