1 ## Check we can set different values for symbols.
3 # RUN: yaml2obj %s -o %t
4 # RUN: llvm-readelf --symbols %t | FileCheck %s
12 ## No "Value" key was set. Check the behaviour is the
13 ## same as if it was set to 0.
15 # CHECK: Num: Value {{.*}} Name
16 # CHECK: 1: 0000000000000000 {{.*}} aaa
17 ## The "Value" key is explicitly set to 0x0.
20 ## Check we can use the "=<none>" syntax.
21 # CHECK-NEXT: 2: 0000000000000000 {{.*}} bbb
23 Value: [[EVAL=<none>]]
24 # CHECK-NEXT: 3: 0000000000000000 {{.*}} ccc
25 ## The "Value" key is explicitly set to an arbitrary value.
26 ## Here we use UINT64_MAX to check this boundary case.
28 Value: 0xffffffffffffffff
29 # CHECK-NEXT: 4: ffffffffffffffff {{.*}} ddd
30 ## The same as the previous case, but using decimal values.
32 Value: 18446744073709551615
33 # CHECK-NEXT: 5: ffffffffffffffff {{.*}} eee