mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
a651b2236f
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238665 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
416 B
Plaintext
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
|