benshi001 added inline comments.
Comment at: clang/lib/Driver/ToolChains/AVR.cpp:548
+// '-mrelax' is default unless '-mno-relax' is specified.
+if (Args.hasFlag(options::OPT_mrelax, options::OPT_mno_relax, true))
MaskRay wrote:
> The comment just repea
This revision was automatically updated to reflect the committed changes.
benshi001 marked an inline comment as done.
Closed by commit rG91610433907e: [clang][driver] Handle '-mrelax' and
'-mno-relax' for AVR (authored by benshi001).
Changed prior to commit:
https://reviews.llvm.org/D144620?vs=
MaskRay accepted this revision.
MaskRay added inline comments.
This revision is now accepted and ready to land.
Comment at: clang/lib/Driver/ToolChains/AVR.cpp:548
+// '-mrelax' is default unless '-mno-relax' is specified.
+if (Args.hasFlag(options::OPT_mrelax, options:
benshi001 updated this revision to Diff 499757.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144620/new/
https://reviews.llvm.org/D144620
Files:
clang/lib/Driver/ToolChains/AVR.cpp
clang/test/Driver/avr-ld.c
clang/test/Driver/avr-toolchain.c
MaskRay added inline comments.
Comment at: clang/lib/Driver/ToolChains/AVR.cpp:549
+// '-mrelax' is default unless '-mno-relax' is specified.
+if (Args.hasFlag(options::OPT_mrelax, options::OPT_mno_relax, true))
+ CmdArgs.push_back("--relax");
If the
benshi001 created this revision.
benshi001 added reviewers: MaskRay, aykevl.
Herald added subscribers: Jim, dylanmckay.
Herald added a project: All.
benshi001 requested review of this revision.
Herald added subscribers: cfe-commits, jacquesguan.
Herald added a project: clang.
Repository:
rG LLVM