[SystemZ] Fix regression in test macro-prefix-map-lambda.cpp
The failing test comes from https://reviews.llvm.org/D152570. Root cause of the failure is that a string constant on SystemZ has an alignment of 2, not 1. The CSKY target has a similar problem. The solution is to replace the fixed number with a regex. Reviewed By: uweigand, tuliom, Zibi Differential Revision: https://reviews.llvm.org/D153352
This commit is contained in:
parent
bd1cba9f4f
commit
6e04287183
@ -8,7 +8,7 @@ auto lambdatest(f&& cb) {
|
||||
|
||||
int main() {
|
||||
auto *s = lambdatest([](){});
|
||||
// CHECK: @"__PRETTY_FUNCTION__._Z10lambdatestIZ4mainE3$_0EDaOT_" = private unnamed_addr constant [{{[0-9]+}} x i8] c"auto lambdatest(f &&) [f = (lambda at ./UNLIKELY_PATH/empty{{/|\\\\}}{{.*}}.cpp:[[#@LINE-1]]:24)]\00", align 1
|
||||
// CHECK: @"__PRETTY_FUNCTION__._Z10lambdatestIZ4mainE3$_0EDaOT_" = private unnamed_addr constant [{{[0-9]+}} x i8] c"auto lambdatest(f &&) [f = (lambda at ./UNLIKELY_PATH/empty{{/|\\\\}}{{.*}}.cpp:[[#@LINE-1]]:24)]\00", align {{[0-9]+}}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user