Emit 32/64-bit bitcode appropriately for C++ reflection.
Bug: 17417839
This change adds proper handling of C++ reflection for the -m32/-m64
command line arguments. Only one type of bitcode will be emitted.
Change-Id: Ic52812b0fc7836eefbe8b6837272124d69b50182
diff --git a/RSCCOptions.td b/RSCCOptions.td
index 1d5f536..1277c3a 100644
--- a/RSCCOptions.td
+++ b/RSCCOptions.td
@@ -60,6 +60,9 @@
HelpText<"Build ASTs then convert to LLVM, but emit nothing">;
}
+def m32 : Flag<["-"], "m32">, HelpText<"Emit 32-bit C++ code">;
+def m64 : Flag<["-"], "m64">, HelpText<"Emit 64-bit C++ code">;
+
def emit_g : Flag<["-"], "g">,
HelpText<"Emit LLVM Debug Metadata">;