dblaikie added inline comments.
Comment at: clang/include/clang/Basic/CodeGenOptions.def:35
CODEGENOPT(AsmVerbose, 1, 0) ///< -dA, -fverbose-asm.
+CODEGENOPT(Dwarf64 , 1, 0) ///< -gdwarf64.
CODEGENOPT(PreserveAsmComments, 1, 1) ///< -dA, -fno-preserve-as-comme
ayermolo updated this revision to Diff 306482.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90507/new/
https://reviews.llvm.org/D90507
Files:
clang/include/clang/Basic/CodeGenOptions.def
clang/include/clang/Driver/Options.td
clang/lib/CodeGen
dblaikie added inline comments.
Comment at: clang/lib/Driver/ToolChains/Clang.cpp:4023
+ D.Diag(diag::err_drv_argument_only_allowed_with)
+ << A->getAsString(Args) << "DWARVv3 or greater";
+else if (!RawTriple.isArch64Bit())
ayermolo updated this revision to Diff 306477.
ayermolo marked 3 inline comments as done.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90507/new/
https://reviews.llvm.org/D90507
Files:
clang/include/clang/Basic/CodeGenOptions.def
clang/include/
ikudrin added inline comments.
Comment at: clang/include/clang/Driver/Options.td:2145-2146
HelpText<"Generate source-level debug information with dwarf version 5">;
+def gdwarf64 : Flag<["-"], "gdwarf64">, Group, Flags<[CC1Option]>,
+ HelpText<"Generate DWARF64 debug informat
ayermolo updated this revision to Diff 306263.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90507/new/
https://reviews.llvm.org/D90507
Files:
clang/include/clang/Basic/CodeGenOptions.def
clang/include/clang/Driver/Options.td
clang/lib/CodeGen
dblaikie added inline comments.
Comment at: clang/include/clang/Driver/Options.td:2145-2146
HelpText<"Generate source-level debug information with dwarf version 5">;
+def gdwarf64 : Flag<["-"], "gdwarf64">, Group, Flags<[CC1Option]>,
+ HelpText<"Generate DWARF64 debug informa
ayermolo added inline comments.
Comment at: clang/include/clang/Driver/Options.td:2145-2146
HelpText<"Generate source-level debug information with dwarf version 5">;
+def gdwarf64 : Flag<["-"], "gdwarf64">, Group, Flags<[CC1Option]>,
+ HelpText<"Generate DWARF64 debug informa
ayermolo added inline comments.
Comment at: clang/include/clang/Driver/Options.td:2145-2146
HelpText<"Generate source-level debug information with dwarf version 5">;
+def gdwarf64 : Flag<["-"], "gdwarf64">, Group, Flags<[CC1Option]>,
+ HelpText<"Generate DWARF64 debug informa
dblaikie added inline comments.
Comment at: clang/include/clang/Driver/Options.td:2145-2146
HelpText<"Generate source-level debug information with dwarf version 5">;
+def gdwarf64 : Flag<["-"], "gdwarf64">, Group, Flags<[CC1Option]>,
+ HelpText<"Generate DWARF64 debug informa
ayermolo added inline comments.
Comment at: clang/lib/Driver/ToolChains/Clang.cpp:4020
+const Arg *A = Args.getLastArg(options::OPT_gdwarf64);
+const llvm::Triple &RawTriple = TC.getTriple();
+if (DWARFVersion < 3)
MaskRay wrote:
> The variable is onl
ayermolo updated this revision to Diff 306223.
ayermolo retitled this revision from "Adding DWARF64 clang flag" to "Adding
DWARF64 clang flag: -gdwarf64".
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90507/new/
https://reviews.llvm.org/D90507
File
12 matches
Mail list logo