forked from OSchip/llvm-project
[Myriad]: default the Dwarf version to 2
llvm-svn: 249692
This commit is contained in:
parent
ca6b64ff04
commit
989157a3ad
|
@ -981,6 +981,7 @@ public:
|
|||
Tool *SelectTool(const JobAction &JA) const override;
|
||||
void getCompilerSupportDir(std::string &Dir) const;
|
||||
void getBuiltinLibDir(std::string &Dir) const;
|
||||
unsigned GetDefaultDwarfVersion() const override { return 2; }
|
||||
|
||||
protected:
|
||||
Tool *buildLinker() const override;
|
||||
|
|
|
@ -57,3 +57,6 @@
|
|||
// RUN: %clang -target sparc-myriad -### -nostdlib %s 2>&1 | FileCheck %s --check-prefix=NOSTDLIB
|
||||
//
|
||||
// NOSTDLIB-NOT: "-lc"
|
||||
|
||||
// RUN: %clang -### -c -g %s -target sparc-myriad 2>&1 | FileCheck -check-prefix=G_SPARC %s
|
||||
// G_SPARC: "-debug-info-kind=limited" "-dwarf-version=2"
|
||||
|
|
Loading…
Reference in New Issue