diff options
author | Eric Christopher <echristo@gmail.com> | 2013-02-05 07:29:57 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-02-05 07:29:57 +0000 |
commit | 2ba5fcb7597a805937257a0ffd83d70c5497c26e (patch) | |
tree | 010036c9ae6ed84027c96b8e2e4e1d83e0b1c719 /clang/lib/Driver/Tools.h | |
parent | c4b0be970006fe970a2311b43cca935120df24f7 (diff) | |
download | bcm5719-llvm-2ba5fcb7597a805937257a0ffd83d70c5497c26e.tar.gz bcm5719-llvm-2ba5fcb7597a805937257a0ffd83d70c5497c26e.zip |
Driver and option support for -gsplit-dwarf. This is a part of
the DWARF5 split dwarf proposal.
llvm-svn: 174349
Diffstat (limited to 'clang/lib/Driver/Tools.h')
-rw-r--r-- | clang/lib/Driver/Tools.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/clang/lib/Driver/Tools.h b/clang/lib/Driver/Tools.h index f4aebd8bd25..6c1f71fcc70 100644 --- a/clang/lib/Driver/Tools.h +++ b/clang/lib/Driver/Tools.h @@ -454,6 +454,20 @@ namespace linuxtools { const ArgList &TCArgs, const char *LinkingOutput) const; }; + + class LLVM_LIBRARY_VISIBILITY SplitDebug : public Tool { + public: + SplitDebug(const ToolChain &TC) : Tool("linuxtools::SplitDebug", + "objcopy", TC) {} + + virtual bool hasIntegratedCPP() const { return false; } + + virtual void ConstructJob(Compilation &C, const JobAction &JA, + const InputInfo &Output, + const InputInfoList &Inputs, + const ArgList &TCArgs, + const char *LinkingOutput) const; + }; } /// minix -- Directly call GNU Binutils assembler and linker namespace minix { |