mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
Symboltables are sorted in the bytecode, so no problems here!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@468 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bc7a95eb7a
commit
12ecac65f5
@ -8,10 +8,8 @@ LD_LIBRARY_PATH=../lib/Assembly/Parser/Debug:../lib/Assembly/Writer/Debug:../lib
|
||||
export LD_LIBRARY_PATH
|
||||
|
||||
# Two full cycles are needed for bitwise stability
|
||||
# FIXME: We must strip symbols, because the symbol tables are not output in
|
||||
# sorted order in the bytecode :(
|
||||
|
||||
../tools/as/as < $1 | ../tools/opt/opt -q -strip > $1.bc.1 || exit 1
|
||||
../tools/as/as < $1 > $1.bc.1 || exit 1
|
||||
../tools/dis/dis < $1.bc.1 > $1.ll.1 || exit 2
|
||||
../tools/as/as < $1.ll.1 > $1.bc.2 || exit 3
|
||||
../tools/dis/dis < $1.bc.2 > $1.ll.2 || exit 4
|
||||
|
Loading…
Reference in New Issue
Block a user