[llvm-branch-commits] [compiler-rt] compiler-rt: Introduce runtime functions for emulated PAC. (PR #133530)

Anatoly Trosinenko via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon May 26 07:57:12 PDT 2025


================
@@ -172,7 +172,7 @@ function(add_compiler_rt_runtime name type)
   cmake_parse_arguments(LIB
     ""
     "PARENT_TARGET"
-    "OS;ARCHS;SOURCES;CFLAGS;LINK_FLAGS;DEFS;DEPS;LINK_LIBS;OBJECT_LIBS;ADDITIONAL_HEADERS;EXTENSIONS"
+    "OS;ARCHS;SOURCES;CFLAGS;LINK_FLAGS;DEFS;DEPS;LINK_LIBS;OBJECT_LIBS;ADDITIONAL_HEADERS;EXTENSIONS;C_STANDARD;CXX_STANDARD"
----------------
atrosinenko wrote:

`(C|CXX)_STANDARD` should probably go to `<one_value_keywords>` argument of [cmake_parse_arguments](https://cmake.org/cmake/help/v3.20/command/cmake_parse_arguments.html), same as `PARENT_TARGET`.

[nit] The new options are not mentioned in the above comment (the description of `add_compiler_rt_runtime`).

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


More information about the llvm-branch-commits mailing list