]> granicus.if.org Git - clang/commit
Account for calling convention specifiers in function definitions in IR test cases
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 29 Jun 2015 17:29:50 +0000 (17:29 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 29 Jun 2015 17:29:50 +0000 (17:29 +0000)
commit51b2a6bc7d3fe59f6502508a133d607f73409f16
treee2cb4a66d5d99f40c55a303d4a272ec0d6adf2fc
parente224f9922d6c828390c13e7606555761dc35fd5c
Account for calling convention specifiers in function definitions in IR test cases

Several tests wouldn't pass when executed on an armv7a_pc_linux triple
due to the non-default arm_aapcs calling convention produced on the
function definitions in the IR output. Account for this with the
application of a little regex.

Patch by Ying Yi.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@240971 91177308-0d34-0410-b5e6-96231b3b80d8
81 files changed:
test/CodeGen/2004-11-27-StaticFunctionRedeclare.c
test/CodeGen/2007-04-14-FNoBuiltin.c
test/CodeGen/PR8880.c
test/CodeGen/builtinshufflevector2.c
test/CodeGen/c-strings.c
test/CodeGen/call.c
test/CodeGen/captured-statements-nested.c
test/CodeGen/captured-statements.c
test/CodeGen/complex-convert.c
test/CodeGen/dostmt.c
test/CodeGen/fast-math.c
test/CodeGen/finite-math.c
test/CodeGen/linkage-redecl.c
test/CodeGen/nomathbuiltin.c
test/CodeGen/stack-protector.c
test/CodeGen/static-order.c
test/CodeGen/ubsan-blacklist.c
test/CodeGen/volatile-1.c
test/CodeGenCXX/PR5093-static-member-function.cpp
test/CodeGenCXX/address-of-fntemplate.cpp
test/CodeGenCXX/attr-cleanup.cpp
test/CodeGenCXX/block-byref-cxx-objc.cpp
test/CodeGenCXX/c-linkage.cpp
test/CodeGenCXX/captured-statements.cpp
test/CodeGenCXX/constructor-attr.cpp
test/CodeGenCXX/ctor-globalopt.cpp
test/CodeGenCXX/debug-info-line.cpp
test/CodeGenCXX/deferred-global-init.cpp
test/CodeGenCXX/derived-to-virtual-base-class-calls-final.cpp
test/CodeGenCXX/dynamic_cast-no-rtti.cpp
test/CodeGenCXX/extern-c.cpp
test/CodeGenCXX/function-template-explicit-specialization.cpp
test/CodeGenCXX/globalinit-loc.cpp
test/CodeGenCXX/mangle-address-space.cpp
test/CodeGenCXX/mangle-nullptr-arg.cpp
test/CodeGenCXX/mangle-template.cpp
test/CodeGenCXX/pr11797.cpp
test/CodeGenCXX/pr18661.cpp
test/CodeGenCXX/pr9965.cpp
test/CodeGenCXX/pragma-weak.cpp
test/CodeGenCXX/predefined-expr.cpp
test/CodeGenCXX/template-dependent-bind-temporary.cpp
test/CodeGenCXX/typeid-should-throw.cpp
test/CodeGenCXX/vararg-non-pod.cpp
test/CodeGenCXX/virtual-destructor-synthesis.cpp
test/CodeGenCXX/vla-lambda-capturing.cpp
test/CodeGenCXX/volatile-1.cpp
test/CodeGenObjC/arc-block-copy-escape.m
test/CodeGenObjC/objc2-legacy-dispatch.m
test/CodeGenObjC/related-result-type.m
test/CodeGenObjCXX/arc-mangle.mm
test/CodeGenObjCXX/debug-info-line.mm
test/CodeGenOpenCL/event_t.cl
test/CodeGenOpenCL/local.cl
test/CodeGenOpenCL/opencl_types.cl
test/Modules/cxx-irgen.cpp
test/Modules/direct-module-import.m
test/Modules/pch-used.m
test/OpenMP/critical_codegen.cpp
test/OpenMP/flush_codegen.cpp
test/OpenMP/for_private_codegen.cpp
test/OpenMP/master_codegen.cpp
test/OpenMP/parallel_codegen.cpp
test/OpenMP/parallel_copyin_codegen.cpp
test/OpenMP/parallel_firstprivate_codegen.cpp
test/OpenMP/parallel_if_codegen.cpp
test/OpenMP/parallel_num_threads_codegen.cpp
test/OpenMP/parallel_private_codegen.cpp
test/OpenMP/parallel_proc_bind_codegen.cpp
test/OpenMP/sections_private_codegen.cpp
test/OpenMP/single_private_codegen.cpp
test/OpenMP/taskgroup_codegen.cpp
test/PCH/cxx-mangling.cpp
test/PCH/objc_container.m
test/PCH/objc_literals.m
test/PCH/objc_literals.mm
test/Profile/cxx-lambda.cpp
test/Profile/cxx-rangefor.cpp
test/Profile/cxx-templates.cpp
test/Sema/attr-malloc.c
test/Sema/enable_if.c