Chromium Code Reviews| Index: src/trusted/validator_arm/testdata-thumb/lit_pool_test.S |
| diff --git a/src/trusted/validator_arm/testdata-thumb/lit_pool_test.S b/src/trusted/validator_arm/testdata-thumb/lit_pool_test.S |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6ce6d9cc48bfa80ae6829c06b16b75584cf7c48e |
| --- /dev/null |
| +++ b/src/trusted/validator_arm/testdata-thumb/lit_pool_test.S |
| @@ -0,0 +1,26 @@ |
| +#include "masks.h" |
| +.syntax unified |
| +.code 16 |
| +.thumb_func |
| +.global _start |
| +_start: |
| + b bundle3//Should succeed |
| + nop |
| + nop |
| + nop |
| + nop |
| + nop |
| + nop |
| +bundle2: |
| + bkpt |
| +target: |
| + .word _start |
| + nop |
| + nop |
| + nop |
| + nop |
| + nop |
| +bundle3: |
| + ldr r0, target |
| + CMASK(r0) |
| + bx r0 |