mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 13:36:08 +00:00

Replace a single dash with a double dash for options that have more than a single letter. llvm-bolt-wrapper.py has special treatment for output options such as "-o" and "-w" causing issues when a single dash is used, e.g. for "-write-dwp". The wrapper can be fixed as well, but using a double dash has other advantages as well. Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D127538
13 lines
431 B
Plaintext
13 lines
431 B
Plaintext
// This test checks that the pointers to PLT are properly updated.
|
|
// The test is using bfd linker, since it may add versioning string
|
|
// to the symbol name e.g. memcpy@@GLIBC_2.17
|
|
|
|
// REQUIRES: gnu_ld
|
|
|
|
// RUN: %clang %cflags %p/../Inputs/plt.c -fuse-ld=bfd \
|
|
// RUN: -o %t.bfd.exe -Wl,-q
|
|
// RUN: llvm-bolt %t.bfd.exe -o %t.bfd.bolt.exe --use-old-text=0 --lite=0
|
|
// RUN: %t.bfd.bolt.exe | FileCheck %s
|
|
|
|
// CHECK: Test completed
|