aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Frontend/CompilerInvocationTest.cpp
diff options
context:
space:
mode:
authorJinsong Ji <jji@us.ibm.com>2021-05-18 14:03:26 +0000
committerJinsong Ji <jji@us.ibm.com>2021-05-18 14:03:27 +0000
commit7d6449322ecba2fa34090ca8ed610328febee108 (patch)
tree85373db0fca20cedcac46e8281042f4bc7326bfd /clang/unittests/Frontend/CompilerInvocationTest.cpp
parent82f248d234a3363886600e239ff86aab4f76090d (diff)
downloadllvm-7d6449322ecba2fa34090ca8ed610328febee108.zip
llvm-7d6449322ecba2fa34090ca8ed610328febee108.tar.gz
llvm-7d6449322ecba2fa34090ca8ed610328febee108.tar.bz2
[DebugInfo][test] Check specific func name to ignore codegen differences
We use `CHECK-LABEL: define` to divide input stream into functions, this works well on most platforms. But there are cases that some platforms (eg: AIX) may have different codegen , especially for global constructor and descructors. On AIX, the codegen will have two more functions: __dtor_b, __finalize_b, which will fail the test. The fix is to use specific function name so that we can safely ignore those unrelated codegen differences. Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D102654
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions