Closed AndrewLitteken closed 5 years ago
I wanted to also try to fix the Illegal Instruction: 4
issue that is occurring in RKQC, but I wasn't able to track down why that is happening yet.
All the tests should pass on both macOS and Ubuntu now!
There was an array indexing issue for the swap_a_to_b
function
Fixes Included:
CFG.h
to work around a more restrictive Xcode toolchainENABLE_LIBCPP=1
for macOS Builds since the 32-bit version is now deprecated in macOS Sierra onwards (10.12+)llvm/Makefile.rules
to fix a bad regex where it would only capture the first digit of the minor versionllvm/projects/sample/autoconf/config.guess
to find the architecture the same way llvm does so the 64-bit libraries are usedllvm/lib/Transforms/Scaffold/ResourceCount.cpp
to actually have the right number of array cells to avoid seg faults upon destruction of objectllvm/lib/Transforms/Scaffold/ResourceCount.cpp
to pass the map by reference rather than copy, avoiding seg faults when looking through the map to find gatesllvm/tools/bugpoint/ToolRunner.cpp
to changeerrs() << OS;
toerrs() << OS.str();
as suggested in Issue #37scaffold/Scaffold.makefile
to find the SDK automatically so regression tests do not fail because header files cannot be foundscripts/regression_test.sh
to findScaffold.dylib
on macOSz
is used rather than aZ
closes #32 closes #37