xref: /llvm-project/clang/test/Driver/debug-options-aranges.c (revision b924c8c71daaa1bb869c42d9afca2a09a9b94629)
1 // REQUIRES: lld
2 
3 /// Check that the linker plugin will get -generate-arange-section.
4 // RUN: %clang -### -g --target=x86_64-linux -flto      -gdwarf-aranges %s 2>&1 | FileCheck %s
5 // RUN: %clang -### -g --target=x86_64-linux -flto=thin -gdwarf-aranges %s 2>&1 | FileCheck %s
6 // CHECK: "-plugin-opt=-generate-arange-section"
7