| ## Test writing unchanged content to ELF Stub file with --write-if-changed flag. | |
| # RUN: llvm-elfabi %s --output-target=elf64-little %t | |
| # RUN: env TZ=GMT touch -m -t 197001010000 %t | |
| # RUN: llvm-elfabi %s --output-target=elf64-little %t --write-if-changed | |
| # RUN: env TZ=GMT ls -l %t | FileCheck %s | |
| --- !tapi-tbe | |
| TbeVersion: 1.0 | |
| Arch: x86_64 | |
| NeededLibs: | |
| - libc.so.6 | |
| Symbols: | |
| bar: { Type: Object, Size: 42 } | |
| baz: { Type: TLS, Size: 3 } | |
| plus: { Type: Func } | |
| ... | |
| # CHECK: {{[[:space:]]1970}} |