Xamarin Public Jenkins (auto-signing) 279aa8f685 Imported Upstream version 5.18.0.246
Former-commit-id: 0c7ce5b1a7851e13f22acfd379b7f9fb304e4833
2019-01-23 08:21:40 +00:00

11 lines
416 B
Plaintext

// Test that llvm-readobj dumps DF_XXX and DF_1_XXX flags correctly.
// The input was generated using the following:
// $ clang -Wl,-z,origin -Wl,-z,now example.c
// $ cat example.c
// int main(void) { return (0); }
RUN: llvm-readobj -dynamic-table %p/Inputs/dtflags.elf-x86-64 | FileCheck %s
CHECK: 0x000000000000001E FLAGS ORIGIN BIND_NOW
CHECK: 0x000000006FFFFFFB FLAGS_1 NOW ORIGIN