Change the syntax of the malloc and free commands in lldb-test's ir-memory-map subcommand to: <malloc> ::= <label> = malloc <size> <alignment> <free> ::= free <label> This should make it easier to read and extend tests in the future, e.g to test IRMemoryMap::WriteMemory or double-free behavior. Differential Revision: https://reviews.llvm.org/D47646 llvm-svn: 333930
11 lines
178 B
Plaintext
11 lines
178 B
Plaintext
L1 = malloc 8 16
|
|
L2 = malloc 16 8
|
|
L3 = malloc 64 32
|
|
L4 = malloc 1 8
|
|
L5 = malloc 64 32
|
|
L6 = malloc 64 8
|
|
L7 = malloc 1024 32
|
|
L8 = malloc 1 16
|
|
L9 = malloc 8 16
|
|
L10 = malloc 1024 16
|