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