Chromium Code Reviews| Index: test/tools/gold/no-map-whole-file.ll |
| diff --git a/test/tools/gold/no-map-whole-file.ll b/test/tools/gold/no-map-whole-file.ll |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..21a0c46d28b003d1537cac20fb439c29e9f668f0 |
| --- /dev/null |
| +++ b/test/tools/gold/no-map-whole-file.ll |
| @@ -0,0 +1,9 @@ |
| +; RUN: llvm-as -o %t.bc %s |
| +; RUN: ld -plugin %llvmshlibdir/LLVMgold.so -plugin-opt=emit-llvm \ |
| +; RUN: --no-map-whole-files -r -o %t2.bc %t.bc |
| +; RUN: llvm-dis < %t2.bc -o - | FileCheck %s |
| + |
| +; CHECK: main |
| +define i32 @main() { |
| + ret i32 0 |
| +} |