llvm
llvm copied to clipboard
Basic support for extracting values of global variables
This doesn't build against LLVM 3.0 because you edited the configure.ac
script.
Also, this warning makes me nervous:
LLVM/Core/Instructions.hs:216:1:
Warning: Pattern match(es) are non-exhaustive
In an equation for `getValConvArg':
Patterns not matched:
IDRet _ _
IDRetVoid
IDBrCond _ _ _
IDBrUncond _
...
I've checked the build against LLVM 3.2 and fixed that warning.
Also closes #37.
And #43.
Commits like f7e310856540241ebb68f98f5c451d1ad070f9f5 churn a huge amount of code due to formatting changes. Could you rebase this pull request down to a smaller number of commits against the HEAD and avoid unnecessary formatting changes?