Rebuild the inputs for the codeview-linetables.test with VS2013

Also provide reproducible instructions

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218303 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Timur Iskhodzhanov 2014-09-23 13:49:51 +00:00
parent fd42335e83
commit afb2f169a3
9 changed files with 38 additions and 4 deletions

View File

@ -1,10 +1,44 @@
RUN: llvm-readobj -s -codeview-linetables %p/Inputs/multifunction-linetables.obj.coff-2012-i368 \
; The following two object files were generated using the following command:
; D:\> cl /Z7 /c source.c
; with the following contents of D:\source.c:
; void z(void);
;
; void x(void) {
; z();
; }
;
; void y(void) {
; z();
; }
;
; void f(void) {
; x();
; y();
; z();
; }
; using CL v18.00.21005.1 32-/64-bit versions respectively.
RUN: llvm-readobj -s -codeview-linetables %p/Inputs/multifunction-linetables.obj.coff-2013-i368 \
RUN: | FileCheck %s -check-prefix MFUN32
RUN: llvm-readobj -s -codeview-linetables %p/Inputs/multifunction-linetables.obj.coff-2012-x86_64 \
RUN: llvm-readobj -s -codeview-linetables %p/Inputs/multifunction-linetables.obj.coff-2013-x86_64 \
RUN: | FileCheck %s -check-prefix MFUN64
RUN: llvm-readobj -s -codeview-linetables %p/Inputs/multifile-linetables.obj.coff-2012-i368 \
; The following two object files were generated using the following command:
; D:\> cl /Z7 /c input.c
; with the following contents of D:\input.c:
; void g(void);
;
; void f(void) {
; #line 1 "one.c"
; g();
; #line 2 "two.c"
; g();
; #line 7 "one.c"
; g();
; }
; using CL v18.00.21005.1 32-/64-bit versions respectively.
RUN: llvm-readobj -s -codeview-linetables %p/Inputs/multifile-linetables.obj.coff-2013-i368 \
RUN: | FileCheck %s -check-prefix MFILE32
RUN: llvm-readobj -s -codeview-linetables %p/Inputs/multifile-linetables.obj.coff-2012-x86_64 \
RUN: llvm-readobj -s -codeview-linetables %p/Inputs/multifile-linetables.obj.coff-2013-x86_64 \
RUN: | FileCheck %s -check-prefix MFILE64
MFUN32: CodeViewLineTables [