[all-commits] [llvm/llvm-project] 7d6449: [DebugInfo][test] Check specific func name to igno...
jsji via All-commits
all-commits at lists.llvm.org
Tue May 18 07:04:16 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7d6449322ecba2fa34090ca8ed610328febee108
https://github.com/llvm/llvm-project/commit/7d6449322ecba2fa34090ca8ed610328febee108
Author: Jinsong Ji <jji at us.ibm.com>
Date: 2021-05-18 (Tue, 18 May 2021)
Changed paths:
M clang/test/CodeGenCXX/debug-info-line.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list