diff options
author | Daniel Dunbar <daniel@zuster.org> | 2014-09-14 13:16:08 -0700 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2014-09-14 13:22:29 -0700 |
commit | 251a32eba660615bc1583fd7e328dde7641499c1 (patch) | |
tree | afa57922d86bf19972df456aa58c85cef748c591 /test | |
parent | caf503da40a515e2239e925eebc8822cc77e0fae (diff) | |
download | klee-251a32eba660615bc1583fd7e328dde7641499c1.tar.gz |
[Core] Remove support for "--use-asm-addresses".
- I suspect no one is using this feature, and I'm not sure it is well conceived either. Ripping it out for now in lieu of bothering to maintain it.
Diffstat (limited to 'test')
-rw-r--r-- | test/Feature/AsmAddresses.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/test/Feature/AsmAddresses.c b/test/Feature/AsmAddresses.c deleted file mode 100644 index cfe566af..00000000 --- a/test/Feature/AsmAddresses.c +++ /dev/null @@ -1,25 +0,0 @@ -// RUN: %llvmgcc -emit-llvm -g -c -o %t.bc %s -// RUN: rm -rf %t.klee-out -// RUN: %klee --output-dir=%t.klee-out --exit-on-error --use-asm-addresses %t.bc - -// RUN: %llvmgcc -emit-llvm -DOVERLAP -g -c -o %t.bc %s -// RUN: rm -rf %t.klee-out -// RUN: not %klee --output-dir=%t.klee-out --exit-on-error --use-asm-addresses %t.bc - -#include <assert.h> - - -volatile unsigned char x0 __asm ("0x0021"); -volatile unsigned char whee __asm ("0x0WHEE"); - -#ifdef OVERLAP -volatile unsigned int y0 __asm ("0x0030"); -volatile unsigned int y1 __asm ("0x0032"); -#endif - -int main() { - assert(&x0 == (void*) 0x0021); - assert(&whee != (void*) 0x0); - - return 0; -} |