Pirama Arumuga Nainar | 799172d | 2016-03-03 15:50:30 -0800 | [diff] [blame^] | 1 | // Regression test with an empty (length = 0) custom section. |
2 | |||||
3 | // RUN: %clangxx_asan -g -O0 %s -c -o %t.o | ||||
4 | // RUN: %clangxx_asan -g -O0 %t.o -o %t -sectcreate mysegment mysection /dev/null | ||||
5 | // RUN: %run %t 2>&1 | FileCheck %s | ||||
6 | |||||
7 | #include <stdio.h> | ||||
8 | |||||
9 | int main() { | ||||
10 | printf("Hello, world!\n"); | ||||
11 | // CHECK: Hello, world! | ||||
12 | } |