[clang] [Driver] Add -Wa, options --crel and --allow-experimental-crel (PR #97378)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 2 14:08:07 PDT 2024


================
@@ -801,6 +801,9 @@ def warn_drv_missing_multilib : Warning<
 def note_drv_available_multilibs : Note<
   "available multilibs are:%0">;
 
+def err_drv_experimental_crel : Error<
+  "-Wa,--allow-experimental-crel must be specified to use -Wa,--crel. CREL is experimental and takes a non-standard section type code">;
----------------
MaskRay wrote:

Thx. Adopted.

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


More information about the cfe-commits mailing list