
https://reviews.llvm.org/D134668 removed all `--` (double dashes) when using `plugin-opt` to pass linker options and replaced them with `-`. https://reviews.llvm.org/D133092 was committed later but introduced an instance of `--`. This patch replaces the `--` with `-`. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D135400
7 lines
325 B
C
7 lines
325 B
C
// REQUIRES: lld
|
|
|
|
/// Check that the linker plugin will get -generate-arange-section.
|
|
// RUN: %clang -### -g --target=x86_64-linux -flto -gdwarf-aranges %s 2>&1 | FileCheck %s
|
|
// RUN: %clang -### -g --target=x86_64-linux -flto=thin -gdwarf-aranges %s 2>&1 | FileCheck %s
|
|
// CHECK: "-plugin-opt=-generate-arange-section"
|