You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
315 B
13 lines
315 B
// Regression test with an empty (length = 0) custom section.
|
|
|
|
// RUN: %clangxx_asan -g -O0 %s -c -o %t.o
|
|
// RUN: %clangxx_asan -g -O0 %t.o -o %t -sectcreate mysegment mysection /dev/null
|
|
// RUN: %run %t 2>&1 | FileCheck %s
|
|
|
|
#include <stdio.h>
|
|
|
|
int main() {
|
|
printf("Hello, world!\n");
|
|
// CHECK: Hello, world!
|
|
}
|