Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 624 Bytes

File metadata and controls

11 lines (8 loc) · 624 Bytes

AssetRipper.Conversions.Lz4

This is a C# port of lz4 using AssetRipper.Translation.LlvmIR.

LLVM IR

clang -g -fno-discard-value-names -fstandalone-debug -w -S -emit-llvm -DLZ4_FORCE_MEMORY_ACCESS=0 -DLZ4_FAST_DEC_LOOP=0 -DLZ4_FORCE_INLINE="static" -o lz4.ll NativeCode/lib/lz4.c
clang -g -fno-discard-value-names -fstandalone-debug -w -S -emit-llvm -DLZ4_FORCE_MEMORY_ACCESS=0 -DLZ4_FAST_DEC_LOOP=0 -DLZ4_FORCE_INLINE="static" -o lz4hc.ll NativeCode/lib/lz4hc.c
llvm-link.exe lz4.ll lz4hc.ll -o lz4combined.bc