rust/compiler/rustc_interface/src
bors 0b24479638 Auto merge of #116555 - paulmenage:llvm-module-flag, r=wesleywiser
Add -Z llvm_module_flag

Allow adding values to the `!llvm.module.flags` metadata for a generated module.  The syntax is

`-Z llvm_module_flag=<name>:<type>:<value>:<behavior>`

Currently only u32 values are supported but the type is required to be specified for forward compatibility.  The `behavior` element must match one of the named LLVM metadata behaviors.viors.

This flag is expected to be perma-unstable.
2023-11-15 16:54:31 +00:00
..
callbacks.rs Remove an unnecessary drop. 2023-10-30 20:45:11 +11:00
errors.rs Write to stdout if - is given as output file 2023-06-06 17:53:29 -04:00
interface.rs Remove support for compiler plugins. 2023-11-04 08:50:46 +11:00
lib.rs MCP636: Add simpler and more explicit syntax to check-cfg 2023-10-13 13:34:21 +02:00
passes.rs Remove support for compiler plugins. 2023-11-04 08:50:46 +11:00
proc_macro_decls.rs Move expansion of query macros in rustc_middle to rustc_middle::query 2023-05-15 08:49:13 +02:00
queries.rs Remove support for compiler plugins. 2023-11-04 08:50:46 +11:00
tests.rs Auto merge of #116555 - paulmenage:llvm-module-flag, r=wesleywiser 2023-11-15 16:54:31 +00:00
util.rs Inline and remove create_session. 2023-11-01 13:46:15 +11:00