diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2014-04-09 07:56:27 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2014-04-09 07:56:27 +0000 |
| commit | 815433587cc62a5b0f361dd11bbf6d846c9ee50c (patch) | |
| tree | 7b95f60b3e11f4e754c34199adee0f2c7b3a79ec /llvm/test | |
| parent | c3d9db23368dda199704a9f39b9cbe551f1992f8 (diff) | |
| download | bcm5719-llvm-815433587cc62a5b0f361dd11bbf6d846c9ee50c.tar.gz bcm5719-llvm-815433587cc62a5b0f361dd11bbf6d846c9ee50c.zip | |
YAMLIO: Encode ambiguous hex strings explicitly
YAMLIO would turn a BinaryRef into the string 0000000004000000.
However, the leading zero causes parsers to interpret it as being an
octal number instead of a hexadecimal one.
Instead, escape such strings as needed.
llvm-svn: 205839
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/Object/X86/objdump-cfg-invalid-opcode.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Object/X86/objdump-cfg-invalid-opcode.yaml b/llvm/test/Object/X86/objdump-cfg-invalid-opcode.yaml index 56ab1d274ee..d0a29be8697 100644 --- a/llvm/test/Object/X86/objdump-cfg-invalid-opcode.yaml +++ b/llvm/test/Object/X86/objdump-cfg-invalid-opcode.yaml @@ -38,7 +38,7 @@ Sections: #CFG: Type: Data ## 4: 06 (bad) -#CFG: Content: 06 +#CFG: Content: '06' #CFG: - StartAddress: 0x0000000000000005 #CFG: Size: 1 |

