forked from OSchip/llvm-project
Default to DWARFv4 on Windows
This commit is contained in:
parent
eee97f1617
commit
9c62728610
|
@ -69,6 +69,10 @@ public:
|
|||
return llvm::DebuggerKind::Default;
|
||||
}
|
||||
|
||||
unsigned GetDefaultDwarfVersion() const override {
|
||||
return 4;
|
||||
}
|
||||
|
||||
enum class SubDirectoryType {
|
||||
Bin,
|
||||
Include,
|
||||
|
|
|
@ -28,10 +28,10 @@
|
|||
// RUN: | FileCheck %s --check-prefixes=NODWARF,CODEVIEW
|
||||
// Explicitly request DWARF.
|
||||
// RUN: %clang -target i686-pc-windows-msvc -gdwarf -S -emit-llvm -o - %s \
|
||||
// RUN: | FileCheck %s --check-prefixes=VER5,NOCODEVIEW
|
||||
// RUN: | FileCheck %s --check-prefixes=VER4,NOCODEVIEW
|
||||
// Explicitly request both.
|
||||
// RUN: %clang -target i686-pc-windows-msvc -gdwarf -gcodeview -S -emit-llvm -o - %s \
|
||||
// RUN: | FileCheck %s --check-prefixes=VER5,CODEVIEW
|
||||
// RUN: | FileCheck %s --check-prefixes=VER4,CODEVIEW
|
||||
// RUN: %clang -target powerpc-ibm-aix-xcoff -g -S -emit-llvm -o - %s | \
|
||||
// RUN: FileCheck %s --check-prefix=VER3
|
||||
// RUN: %clang -target powerpc-ibm-aix-xcoff -gdwarf-2 -S -emit-llvm -o - %s | \
|
||||
|
|
Loading…
Reference in New Issue