diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-04-30 02:22:09 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-04-30 02:22:09 +0000 |
commit | b5b622a03c5136fa10d245dbe1f8f278ebd98d1b (patch) | |
tree | ca6abc37ad856a89fb4b1810b464ee787221e2af /clang/test | |
parent | 8b9663e8cc1773e18d2e4c4e30bcb210e7ff2198 (diff) | |
download | bcm5719-llvm-b5b622a03c5136fa10d245dbe1f8f278ebd98d1b.tar.gz bcm5719-llvm-b5b622a03c5136fa10d245dbe1f8f278ebd98d1b.zip |
Drop non-cfi assembly support from clang.
After this patch clang will ignore -fdwarf2-cfi-asm and -ffno-dwarf2-cfi-asm and
always print assembly that uses cfi directives.
In llvm, MC itself supports cfi since the end of 2010 (support started
in r119972, is reported in the 2.9 release notes).
In binutils the support has been around for much longer. It looks like
support started to be added in May 2003. It is available in 2.15
(31-Aug-2011, 2.14 is from 12-Jun-2003).
llvm-svn: 207602
Diffstat (limited to 'clang/test')
-rw-r--r-- | clang/test/Driver/cfi.c | 9 | ||||
-rw-r--r-- | clang/test/Driver/dwarf2-cfi-asm.c | 35 |
2 files changed, 0 insertions, 44 deletions
diff --git a/clang/test/Driver/cfi.c b/clang/test/Driver/cfi.c deleted file mode 100644 index c33d1904286..00000000000 --- a/clang/test/Driver/cfi.c +++ /dev/null @@ -1,9 +0,0 @@ -// RUN: %clang -target i386-apple-darwin10 \ -// RUN: -no-integrated-as -### %s 2>&1 | \ -// RUN: FileCheck --check-prefix=CHECK-DARWIN %s - -// RUN: %clang -target i386-pc-linux-gnu -static -### %s 2>&1 | \ -// RUN: FileCheck --check-prefix=CHECK-LINUX %s - -// CHECK-DARWIN: -fno-dwarf2-cfi-asm -// CHECK-LINUX-NOT: -fno-dwarf2-cfi-asm diff --git a/clang/test/Driver/dwarf2-cfi-asm.c b/clang/test/Driver/dwarf2-cfi-asm.c deleted file mode 100644 index a5c4878703b..00000000000 --- a/clang/test/Driver/dwarf2-cfi-asm.c +++ /dev/null @@ -1,35 +0,0 @@ -// RUN: %clang -target x86_64-apple-darwin -### -S -integrated-as %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK-DARWIN-MC-DEFAULT %s -// RUN: %clang -target x86_64-apple-darwin -### -S -integrated-as -fdwarf2-cfi-asm %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK-DARWIN-MC-CFI %s -// RUN: %clang -target x86_64-apple-darwin -### -S -integrated-as -fno-dwarf2-cfi-asm %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK-DARWIN-MC-NOCFI %s - -// RUN: %clang -target x86_64-apple-darwin -### -S -no-integrated-as %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK-DARWIN-AS-DEFAULT %s -// RUN: %clang -target x86_64-apple-darwin -### -S -no-integrated-as -fdwarf2-cfi-asm %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK-DARWIN-AS-CFI %s -// RUN: %clang -target x86_64-apple-darwin -### -S -no-integrated-as -fno-dwarf2-cfi-asm %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK-DARWIN-AS-NOCFI %s - - -// RUN: %clang -target x86_64-pc-linux -### -S -integrated-as %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK-LINUX-MC-DEFAULT %s -// RUN: %clang -target x86_64-pc-linux -### -S -integrated-as -fdwarf2-cfi-asm %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK-LINUX-MC-CFI %s -// RUN: %clang -target x86_64-pc-linux -### -S -integrated-as -fno-dwarf2-cfi-asm %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK-LINUX-MC-NOCFI %s - -// RUN: %clang -target x86_64-pc-linux -### -S -no-integrated-as %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK-LINUX-AS-DEFAULT %s -// RUN: %clang -target x86_64-pc-linux -### -S -no-integrated-as -fdwarf2-cfi-asm %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK-LINUX-AS-CFI %s -// RUN: %clang -target x86_64-pc-linux -### -S -no-integrated-as -fno-dwarf2-cfi-asm %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK-LINUX-AS-NOCFI %s - - - -// CHECK-DARWIN-MC-DEFAULT-NOT: -fno-dwarf2-cfi-asm -// CHECK-DARWIN-MC-CFI-NOT: -fno-dwarf2-cfi-asm -// CHECK-DARWIN-MC-NOCFI: -fno-dwarf2-cfi-asm - -// CHECK-DARWIN-AS-DEFAULT: -fno-dwarf2-cfi-asm -// CHECK-DARWIN-AS-CFI-NOT: -fno-dwarf2-cfi-asm -// CHECK-DARWIN-AS-NOCFI: -fno-dwarf2-cfi-asm - - -// CHECK-LINUX-MC-DEFAULT-NOT: -fno-dwarf2-cfi-asmx -// CHECK-LINUX-MC-CFI-NOT: -fno-dwarf2-cfi-asm -// CHECK-LINUX-MC-NOCFI: -fno-dwarf2-cfi-asm - -// CHECK-LINUX-AS-DEFAULT-NOT: -fno-dwarf2-cfi-asm -// CHECK-LINUX-AS-CFI-NOT: -fno-dwarf2-cfi-asm -// CHECK-LINUX-AS-NOCFI: -fno-dwarf2-cfi-asm |