Files
clang-p2996/lldb/lit/Expr/Inputs/ir-memory-map-overlap1
Vedant Kumar c418b5cc25 [IRMemoryMap] Use labels in the "malloc" and "free" lldb-test commands
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
2018-06-04 17:11:15 +00:00

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