[compiler-rt] [asan][windows] Make tests more flexable (PR #85274)
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 14 16:06:43 PDT 2024
================
@@ -21,13 +21,13 @@ void make_access(S *s) {
int main(void) {
S *s = (S*)malloc(sizeof(S));
free(s);
-// CHECK: [[ADDR]] is located 0 bytes inside of 4-byte region
-// CHECK-LABEL: freed by thread T0 here:
-// CHECK: {{#0 .* free }}
-// CHECK: {{#1 .* main .*bitfield_uaf.cpp}}:[[@LINE-4]]
-// CHECK-LABEL: previously allocated by thread T0 here:
-// CHECK: {{#0 .* malloc }}
-// CHECK: {{#1 .* main .*bitfield_uaf.cpp}}:[[@LINE-8]]
+ // CHECK: [[ADDR]] is located 0 bytes inside of 4-byte region
+ // CHECK-LABEL: freed by thread T0 here:
+ // CHECK: {{#0 .* free }}
+ // CHECK: {{ .* main .*bitfield_uaf.cpp}}:[[@LINE-4]]
----------------
vitalybuka wrote:
same below
https://github.com/llvm/llvm-project/pull/85274
More information about the llvm-commits
mailing list