]> git.ipfire.org Git - thirdparty/zstd.git/log
thirdparty/zstd.git
6 years agoImproves decompression speed when using cold dictionary 1411/head
Yann Collet [Fri, 9 Nov 2018 01:00:23 +0000 (17:00 -0800)] 
Improves decompression speed when using cold dictionary

by triggering the prefetching decoder path
(which used to be dedicated to long-range offsets only).

Figures on my laptop :
no content prefetch : ~300 MB/s (for reference)
full content prefetch : ~325 MB/s (before this patch)
new prefetch path : ~375 MB/s (after this patch)

The benchmark speed is already significant,
but another side-effect is that this version
prefetch less data into memory,
since it only prefetches what's needed, instead of the full dictionary.

This is supposed to help highly active environments
such as active databases,
that can't be properly measured in benchmark environment (too clean).

Also :
fixed the largeNbDict test program
which was working improperly when setting nbBlocks > nbFiles.

6 years agoreduced assertion strength 1410/head
Yann Collet [Thu, 8 Nov 2018 20:57:34 +0000 (12:57 -0800)] 
reduced assertion strength

one limit case can apparently be generated during fuzzer tests

6 years agoadded a simple test case for decode-only benchmark mode
Yann Collet [Thu, 8 Nov 2018 20:51:42 +0000 (12:51 -0800)] 
added a simple test case for decode-only benchmark mode

as it was broken and no one noticed

6 years agoimprove long-range decoder speed
Yann Collet [Thu, 8 Nov 2018 20:47:46 +0000 (12:47 -0800)] 
improve long-range decoder speed

on enwik9 at level 22 (which is almost a worst case scenario),
speed improves by +7% on my laptop (415 -> 445 MB/s)

6 years agofixed decompression-only benchmark
Yann Collet [Thu, 8 Nov 2018 20:36:39 +0000 (12:36 -0800)] 
fixed decompression-only benchmark

6 years agoMerge pull request #1405 from pitrou/allow_cmake_debug_builds
Yann Collet [Tue, 6 Nov 2018 21:58:50 +0000 (13:58 -0800)] 
Merge pull request #1405 from pitrou/allow_cmake_debug_builds

Allow creating debug builds with CMake

6 years agoAllow creating debug builds with CMake 1405/head
Antoine Pitrou [Tue, 6 Nov 2018 20:24:29 +0000 (21:24 +0100)] 
Allow creating debug builds with CMake

Only set the build type to Release if the user didn't select any.
See discussion in https://github.com/facebook/zstd/pull/1278#issuecomment-436327923
and below.

6 years agoMerge pull request #1404 from facebook/T36302429
Yann Collet [Tue, 6 Nov 2018 19:53:20 +0000 (11:53 -0800)] 
Merge pull request #1404 from facebook/T36302429

fixed T36302471

6 years agoMerge pull request #1403 from facebook/assert_opt
Yann Collet [Tue, 6 Nov 2018 01:57:30 +0000 (17:57 -0800)] 
Merge pull request #1403 from facebook/assert_opt

just add an assert() in ZSTD_insertBtAndGetAllMatches()

6 years agofixed T36302429 1404/head
Yann Collet [Tue, 6 Nov 2018 01:50:30 +0000 (17:50 -0800)] 
fixed T36302429

6 years agojust add an assert() in ZSTD_insertBtAndGetAllMatches() 1403/head
Yann Collet [Tue, 30 Oct 2018 01:07:07 +0000 (18:07 -0700)] 
just add an assert() in ZSTD_insertBtAndGetAllMatches()

to express a condition on ll0 .
May help static analyzer as in #1397

6 years agoMerge pull request #1395 from facebook/decompressblock
Yann Collet [Mon, 29 Oct 2018 23:28:09 +0000 (16:28 -0700)] 
Merge pull request #1395 from facebook/decompressblock

created zstd_decompress_block module

6 years agoMerge pull request #1398 from bmwiedemann/pgo
Yann Collet [Mon, 29 Oct 2018 23:00:26 +0000 (16:00 -0700)] 
Merge pull request #1398 from bmwiedemann/pgo

Fix building zstd-pgo

6 years agofixed a second memset() on NULL 1395/head
Yann Collet [Mon, 29 Oct 2018 22:03:57 +0000 (15:03 -0700)] 
fixed a second memset() on NULL

not sure why it only triggers now,
this code has been around for a while.

Introduced a new error code : dstBuffer_null,
I couldn't express anything even remotely similar with existing error codes set.

6 years agofixed memcpy() on NULL warning
Yann Collet [Mon, 29 Oct 2018 20:57:37 +0000 (13:57 -0700)] 
fixed memcpy() on NULL warning

memcpy(NULL, src, 0) is undefined behavior.

6 years agoMerge pull request #1396 from facebook/huf_refactor
Yann Collet [Mon, 29 Oct 2018 20:06:45 +0000 (13:06 -0700)] 
Merge pull request #1396 from facebook/huf_refactor

refactor HUF_compress_internal for clarity

6 years agopgo: also optimize compression 1398/head
Bernhard M. Wiedemann [Mon, 29 Oct 2018 16:20:03 +0000 (17:20 +0100)] 
pgo: also optimize compression

and clean *.o so that linking does not fail from code
that is partially augmented with coverage generation instructions

6 years agozstd-pgo: do not make clean and zstd in parallel
Bernhard M. Wiedemann [Mon, 29 Oct 2018 14:11:28 +0000 (15:11 +0100)] 
zstd-pgo: do not make clean and zstd in parallel

otherwise, there might not be a ./zstd to run

6 years agoadded flag -Wc++-compat
Yann Collet [Fri, 26 Oct 2018 23:38:23 +0000 (16:38 -0700)] 
added flag -Wc++-compat

for library and cli

6 years agorenamed NEWS as CHANGELOG
Yann Collet [Fri, 26 Oct 2018 22:57:13 +0000 (15:57 -0700)] 
renamed NEWS as CHANGELOG

to conform fb publication rules.

6 years agominor clarifications of history update rules
Yann Collet [Fri, 26 Oct 2018 22:51:51 +0000 (15:51 -0700)] 
minor clarifications of history update rules

6 years agoMerge pull request #1392 from coetry/dev
Yann Collet [Fri, 26 Oct 2018 22:29:07 +0000 (15:29 -0700)] 
Merge pull request #1392 from coetry/dev

provide consistent spacing to enum field

6 years agoMerge pull request #1394 from terrelln/circleci-packaging
Yann Collet [Fri, 26 Oct 2018 22:28:44 +0000 (15:28 -0700)] 
Merge pull request #1394 from terrelln/circleci-packaging

Publish uncompressed, zstd, and gzipped packages

6 years agoMerge branch 'dev' into huf_Refactor 1396/head
Yann Collet [Fri, 26 Oct 2018 22:25:01 +0000 (15:25 -0700)] 
Merge branch 'dev' into huf_Refactor

6 years agoadded a few comments for clarifications
Yann Collet [Fri, 26 Oct 2018 22:21:52 +0000 (15:21 -0700)] 
added a few comments for clarifications

6 years agoMerge branch 'dev' into decompressblock
Yann Collet [Fri, 26 Oct 2018 22:00:00 +0000 (15:00 -0700)] 
Merge branch 'dev' into decompressblock

6 years agoMerge pull request #1390 from facebook/nullAsOutput
Yann Collet [Fri, 26 Oct 2018 21:43:16 +0000 (14:43 -0700)] 
Merge pull request #1390 from facebook/nullAsOutput

support decompressing an empty frame into NULL

6 years agovertically align code comment 1392/head
Allen Hai [Fri, 26 Oct 2018 21:16:06 +0000 (16:16 -0500)] 
vertically align code comment

6 years agorefactor HUF_compress_internal for clarity
Yann Collet [Fri, 26 Oct 2018 20:21:37 +0000 (13:21 -0700)] 
refactor HUF_compress_internal for clarity

changed workspace parameter convention
to always provide workspaceSize,
so that size can be explicitly checked.

Also, use more enum to make the meaning of some parameters more explicit.

6 years agoPublish uncompressed, zstd, and gzipped packages 1394/head
Nick Terrell [Fri, 26 Oct 2018 20:06:53 +0000 (13:06 -0700)] 
Publish uncompressed, zstd, and gzipped packages

6 years agofixed VS2010 project
Yann Collet [Fri, 26 Oct 2018 18:25:40 +0000 (11:25 -0700)] 
fixed VS2010 project

6 years agofixed : extraneous function prototype in fullbench.c
Yann Collet [Fri, 26 Oct 2018 17:39:49 +0000 (10:39 -0700)] 
fixed : extraneous function prototype in fullbench.c

now provided through zstd_internal.h

6 years agoprovide consistent spacing to enum field
Allen Hai [Thu, 25 Oct 2018 23:45:20 +0000 (18:45 -0500)] 
provide consistent spacing to enum field

6 years agocreated zstd_decompress_block module
Yann Collet [Thu, 25 Oct 2018 23:28:41 +0000 (16:28 -0700)] 
created zstd_decompress_block module

isolate all logic associated with block decompression
into its own module.

zstd_decompress is still in charge
of context creation/destruction,
frames, headers, streaming, special blocks, etc.

Compressed blocks themselves are now handled within zstd_decompress_block .

6 years agoMerge pull request #1388 from facebook/ddict
Yann Collet [Thu, 25 Oct 2018 17:20:40 +0000 (10:20 -0700)] 
Merge pull request #1388 from facebook/ddict

separate DDict logic into its own module

6 years agoadded comment on public ddict functions 1388/head
Yann Collet [Wed, 24 Oct 2018 23:50:03 +0000 (16:50 -0700)] 
added comment on public ddict functions

6 years agosupport decompressing an empty frame into NULL 1390/head
Yann Collet [Wed, 24 Oct 2018 23:34:35 +0000 (16:34 -0700)] 
support decompressing an empty frame into NULL

fix #1385
decompressing into NULL was an automatic error.
It is now allowed, as long as the content of the frame is empty.

Seems to simplify things for `arrow`.
Maybe some other projects rely on this behavior ?

6 years agofix and refactored libzstd_partial_build.sh
Yann Collet [Wed, 24 Oct 2018 18:32:09 +0000 (11:32 -0700)] 
fix and refactored libzstd_partial_build.sh

make the test intention clearer
(easier to maintain)

also resist the existence of zstd_ddict.o within libzstd.a

6 years agofixed warnings in testpools
Yann Collet [Wed, 24 Oct 2018 17:36:06 +0000 (10:36 -0700)] 
fixed warnings in testpools

6 years agoadded simple guard macros
Yann Collet [Wed, 24 Oct 2018 00:55:23 +0000 (17:55 -0700)] 
added simple guard macros

in case of accidental multi-includes

6 years agofixed VS2010 build script
Yann Collet [Wed, 24 Oct 2018 00:44:43 +0000 (17:44 -0700)] 
fixed VS2010 build script

6 years agorestored cmake build tests in Travis
Yann Collet [Wed, 24 Oct 2018 00:40:15 +0000 (17:40 -0700)] 
restored cmake build tests in Travis

for some reason, these tests were no longer played on Travis.

As a consequence, I discovered some left-over from the util.c change while testing.

6 years agoseparate DDict logic into its own module
Yann Collet [Wed, 24 Oct 2018 00:25:49 +0000 (17:25 -0700)] 
separate DDict logic into its own module

created zstd_ddict.c within lib/decompress

6 years agoMerge pull request #1384 from ulikunitz/dev
Yann Collet [Tue, 23 Oct 2018 21:34:58 +0000 (14:34 -0700)] 
Merge pull request #1384 from ulikunitz/dev

Clarify special case of offset history update

6 years agoReverted removal of a trailing space. 1384/head
Ulrich Kunitz [Tue, 23 Oct 2018 06:43:19 +0000 (08:43 +0200)] 
Reverted removal of a trailing space.

My editor removes trailing spaces while saving. Not confusing things I
reverted that change.

6 years agoFixed a typo
Ulrich Kunitz [Tue, 23 Oct 2018 06:36:50 +0000 (08:36 +0200)] 
Fixed a typo

I fixed a typo in the last commit. Many thanks to @terrelin for pointing
that out.

6 years agoClarify special case of offset history update
Ulrich Kunitz [Mon, 22 Oct 2018 21:46:43 +0000 (23:46 +0200)] 
Clarify special case of offset history update

If the current sequence has literal length of zero then an offset value
of three is handled in a special manner. While I implemented a golang
decoder I had to consult the educational decoder for clarification on
the update of the offset history in that case. This commit provides the
clarification that the offset value Repeated_Offset1-1 is handled as a
new offset is added to the offset history accordingly.

6 years agoMerge pull request #1383 from facebook/uninstall
Yann Collet [Mon, 22 Oct 2018 21:04:15 +0000 (14:04 -0700)] 
Merge pull request #1383 from facebook/uninstall

fix : removed zstdmt symlink on uninstall

6 years agofix : removed zstdmt symlink on uninstall 1383/head
Yann Collet [Mon, 22 Oct 2018 19:51:56 +0000 (12:51 -0700)] 
fix : removed zstdmt symlink on uninstall

6 years agoMerge pull request #1380 from facebook/decodecorpus
Yann Collet [Mon, 22 Oct 2018 18:57:12 +0000 (11:57 -0700)] 
Merge pull request #1380 from facebook/decodecorpus

fix decodecorpus incorrect frame generation

6 years agoMerge pull request #1382 from jonesz/ticket-compiler-rt-fuzzer
Nick Terrell [Mon, 22 Oct 2018 17:48:56 +0000 (10:48 -0700)] 
Merge pull request #1382 from jonesz/ticket-compiler-rt-fuzzer

Fix libFuzzer location in makefile.

6 years agoFix libFuzzer location in makefile. 1382/head
Ethan Jones [Mon, 22 Oct 2018 16:19:13 +0000 (11:19 -0500)] 
Fix libFuzzer location in makefile.

libFuzzer was moved into compiler-rt, update the repo location
accordingly.

6 years agofix decodecorpus incorrect frame generation 1380/head
Yann Collet [Sun, 21 Oct 2018 01:53:02 +0000 (18:53 -0700)] 
fix decodecorpus incorrect frame generation

fix #1379
decodecorpus was generating one extraneous byte when `nbSeq==0`.
This is disallowed by the specification.

The reference decoder was just skipping the extraneous byte.
It is now stricter, and flag such situation as an error.

6 years agoMerge pull request #1368 from rkjain89/test-branch
Yann Collet [Fri, 19 Oct 2018 23:31:10 +0000 (16:31 -0700)] 
Merge pull request #1368 from rkjain89/test-branch

Moving Code To util.c

6 years agoMade the changes in zstd vcproj file for VS2008 as requested 1368/head
Rohit Jain [Wed, 17 Oct 2018 06:33:17 +0000 (23:33 -0700)] 
Made the changes in zstd vcproj file for VS2008 as requested

6 years agominor NEWS update for v1.3.7 1375/head v1.3.7
Yann Collet [Wed, 17 Oct 2018 03:58:52 +0000 (20:58 -0700)] 
minor NEWS update for v1.3.7

6 years agoMerge pull request #1372 from samrussell/dev
Yann Collet [Tue, 16 Oct 2018 17:09:33 +0000 (10:09 -0700)] 
Merge pull request #1372 from samrussell/dev

Add man pages for zstdgrep and zstdless

6 years agofix up zgrep/zless references 1372/head
Sam Russell [Mon, 15 Oct 2018 19:42:02 +0000 (08:42 +1300)] 
fix up zgrep/zless references

6 years agoAdd man pages for zstdgrep and zstdless
Sam Russell [Mon, 15 Oct 2018 09:20:10 +0000 (22:20 +1300)] 
Add man pages for zstdgrep and zstdless

6 years agoChanging tests/fuzz/Makefile to move util.o to FUZZ_SRC instead
Rohit Jain [Sat, 13 Oct 2018 02:06:58 +0000 (19:06 -0700)] 
Changing tests/fuzz/Makefile to move util.o to FUZZ_SRC instead

6 years agoAdding util.c to zstd VS file
Rohit Jain [Fri, 12 Oct 2018 21:22:05 +0000 (14:22 -0700)] 
Adding util.c to zstd VS file

6 years agoAdding chagnes for cmake and VStudio
Rohit Jain [Fri, 12 Oct 2018 21:08:13 +0000 (14:08 -0700)] 
Adding chagnes for cmake and VStudio

6 years agoFixing poolTests, I will understand about cmake and VStudio and push them in a later...
Rohit Jain [Fri, 12 Oct 2018 18:36:02 +0000 (11:36 -0700)] 
Fixing poolTests, I will understand about cmake and VStudio and push them in a later commit

6 years agoAddress most comments
Rohit Jain [Fri, 12 Oct 2018 01:05:15 +0000 (18:05 -0700)] 
Address most comments

6 years agoMoving more function to the new C file
Rohit Jain [Fri, 12 Oct 2018 00:34:47 +0000 (17:34 -0700)] 
Moving more function to the new C file

6 years agoFixing regressiontest makefile
Rohit Jain [Fri, 12 Oct 2018 00:08:42 +0000 (17:08 -0700)] 
Fixing regressiontest makefile

6 years agoRemoving static and making extern
Rohit Jain [Thu, 11 Oct 2018 23:51:29 +0000 (16:51 -0700)] 
Removing static and making extern

6 years agoupdate NEWS for v1.3.7 1370/head
Yann Collet [Thu, 11 Oct 2018 23:49:55 +0000 (16:49 -0700)] 
update NEWS for v1.3.7

6 years agoMerge pull request #1369 from facebook/v137
Yann Collet [Thu, 11 Oct 2018 22:59:57 +0000 (15:59 -0700)] 
Merge pull request #1369 from facebook/v137

bumped version number to v1.3.7

6 years agoMaking changes to make it compile on my laptop
Rohit Jain [Thu, 11 Oct 2018 22:51:57 +0000 (15:51 -0700)] 
Making changes to make it compile on my laptop

6 years agoFixed makefile and removed multiple definitions from util.h (UTIL_getTime)
Rohit Jain [Thu, 11 Oct 2018 22:17:40 +0000 (15:17 -0700)] 
Fixed makefile and removed multiple definitions from util.h (UTIL_getTime)

6 years agoRemoved UTIL_setFileStat from util.h and move it to util.c
Rohit Jain [Thu, 11 Oct 2018 22:07:12 +0000 (15:07 -0700)] 
Removed UTIL_setFileStat from util.h and move it to util.c

6 years agoMerge pull request #1366 from facebook/fix_strncat
Yann Collet [Thu, 11 Oct 2018 21:58:00 +0000 (14:58 -0700)] 
Merge pull request #1366 from facebook/fix_strncat

fixed minor gcc warning

6 years agobumped version number to v1.3.7 1369/head
Yann Collet [Thu, 11 Oct 2018 21:40:12 +0000 (14:40 -0700)] 
bumped version number to v1.3.7

updated documentation

6 years agoMoving code to util.c
Rohit Jain [Thu, 11 Oct 2018 19:52:19 +0000 (12:52 -0700)] 
Moving code to util.c

6 years agoMerge pull request #1367 from atdt/dev
Yann Collet [Thu, 11 Oct 2018 19:49:25 +0000 (12:49 -0700)] 
Merge pull request #1367 from atdt/dev

Enable use of bswap intrinsics in clang

6 years agoEnable use of bswap intrinsics in clang 1367/head
Ori Livneh [Thu, 11 Oct 2018 02:32:03 +0000 (22:32 -0400)] 
Enable use of bswap intrinsics in clang

Necessary because clang disguises itself as an older (__GNUC_MINOR__ = 2) GCC.

6 years agoMerge pull request #1365 from facebook/bitspeed
Yann Collet [Thu, 11 Oct 2018 02:16:35 +0000 (19:16 -0700)] 
Merge pull request #1365 from facebook/bitspeed

Improved decompression speed

6 years agorestored bitMask for shift values 1365/head
Yann Collet [Thu, 11 Oct 2018 01:26:44 +0000 (18:26 -0700)] 
restored bitMask for shift values

since corrupted bitstreams can generate too large values.

This slightly reduces the benefits from clang on my laptop.
gcc results and code generation are not affected.

6 years agoremoved one assert()
Yann Collet [Thu, 11 Oct 2018 00:33:04 +0000 (17:33 -0700)] 
removed one assert()

that can be triggered by a corrupted bitstream.

6 years agofixed minor gcc warning 1366/head
Yann Collet [Thu, 11 Oct 2018 00:06:25 +0000 (17:06 -0700)] 
fixed minor gcc warning

gcc-8 on Linux doesn't like usage of strncat :
`warning: â€˜strncat’ output truncated before terminating nul copying as many bytes from a string as its length`.

Not sure what was wrong, it might be a false positive,
but the logic is simple enough to replaced by a simple `memcpy()`,
thus avoiding the shenanigans of null-terminated strings.

6 years agoremoved one assert()
Yann Collet [Wed, 10 Oct 2018 23:36:11 +0000 (16:36 -0700)] 
removed one assert()

which can be triggered when input is corrupted.

6 years agoimproved decompression speed
Yann Collet [Wed, 10 Oct 2018 22:48:43 +0000 (15:48 -0700)] 
improved decompression speed

while reviewing #1364,
I found a decompression speed improvement.

On my laptop, the new code decompresses +5-6% faster on clang
and +2-3% faster on gcc.

not bad for an accidental optimization...

6 years agoMerge pull request #1363 from facebook/backtrace
Yann Collet [Wed, 10 Oct 2018 16:37:33 +0000 (09:37 -0700)] 
Merge pull request #1363 from facebook/backtrace

backtrace support compiled with more conditions

6 years agouse #if BACKTRACE_ENABLE directly 1363/head
Yann Collet [Wed, 10 Oct 2018 00:56:59 +0000 (17:56 -0700)] 
use #if BACKTRACE_ENABLE directly

as suggested by @terrelln

6 years agoMerge branch 'backtrace' of github.com:facebook/zstd into backtrace
Julian Fessard [Wed, 10 Oct 2018 00:24:48 +0000 (17:24 -0700)] 
Merge branch 'backtrace' of github.com:facebook/zstd into backtrace

6 years agofileio.c: Disable backtrace when built with address sanitizer
Julian Fessard [Wed, 10 Oct 2018 00:14:57 +0000 (17:14 -0700)] 
fileio.c: Disable backtrace when built with address sanitizer

Covers clang and gcc's sanitizer flags.
Can still be overridden through CFLAGS on commandline.

6 years agofixed explicit BACKTRACE order
Yann Collet [Wed, 10 Oct 2018 00:12:21 +0000 (17:12 -0700)] 
fixed explicit BACKTRACE order

and automatic linux backtrace detection :
__GLIBC__ must be tested after #include <features.h>

6 years agofixed BACKTRACE_ENABLE macro test
Yann Collet [Tue, 9 Oct 2018 19:57:42 +0000 (12:57 -0700)] 
fixed BACKTRACE_ENABLE macro test

6 years agoMerge pull request #1361 from facebook/streamdoc
Yann Collet [Tue, 9 Oct 2018 02:19:34 +0000 (19:19 -0700)] 
Merge pull request #1361 from facebook/streamdoc

Clarify streaming api doc

6 years agoMerge pull request #1362 from felixhandte/fix-btlazy-skipping
Yann Collet [Tue, 9 Oct 2018 00:06:43 +0000 (17:06 -0700)] 
Merge pull request #1362 from felixhandte/fix-btlazy-skipping

`ZSTD_btlazy2`: Avoid Erroneously Trampling on Match with Worse Dictionary Match

6 years agobacktrace support compiled with more conditions
Yann Collet [Tue, 9 Oct 2018 00:03:06 +0000 (17:03 -0700)] 
backtrace support compiled with more conditions

following #1356,
only enable backtrace compilation on linux+glibc.

Also, disable backtrace by default from "release" compilation,
so that less platforms get impacted by the new requirements.
Can be manually enabled/disabled using BACKTRACE=1/0.

6 years agoMerge pull request #1356 from maxice8/fix-musl
Yann Collet [Mon, 8 Oct 2018 23:43:30 +0000 (16:43 -0700)] 
Merge pull request #1356 from maxice8/fix-musl

don't assume __linux__ means __GLIBC__ on BACKTRACES_ENABLE

6 years agoAvoid Searching Dictionary in ZSTD_btlazy2 When an Optimal Match is Found 1362/head
W. Felix Handte [Mon, 8 Oct 2018 22:56:09 +0000 (15:56 -0700)] 
Avoid Searching Dictionary in ZSTD_btlazy2 When an Optimal Match is Found

Bailing here is important to avoid reading past the end of the input buffer.

6 years agoClean Up Debug Log Statements
W. Felix Handte [Mon, 8 Oct 2018 22:50:02 +0000 (15:50 -0700)] 
Clean Up Debug Log Statements

6 years agoRemove Unused Variable
W. Felix Handte [Mon, 8 Oct 2018 22:38:16 +0000 (15:38 -0700)] 
Remove Unused Variable

6 years agoclarify streaming api doc 1361/head
Yann Collet [Mon, 8 Oct 2018 22:53:29 +0000 (15:53 -0700)] 
clarify streaming api doc

as suggested by @indygreg in #1360

6 years agodon't assume __linux__ means __GLIBC__ on BACKTRACES_ENABLE 1356/head
maxice8 [Sat, 6 Oct 2018 00:23:45 +0000 (21:23 -0300)] 
don't assume __linux__ means __GLIBC__ on BACKTRACES_ENABLE

check for __GLIBC__ instead of __linux__ as musl libc doesn't provide
execinfo.h

fixes compilation on Alpine Linux and Void Linux musl arches.

6 years agofixed fullbench-lib target 1354/head
Yann Collet [Fri, 5 Oct 2018 00:25:11 +0000 (17:25 -0700)] 
fixed fullbench-lib target

6 years agoMerge pull request #1351 from facebook/haikubuild
Yann Collet [Thu, 4 Oct 2018 21:59:35 +0000 (14:59 -0700)] 
Merge pull request #1351 from facebook/haikubuild

 portability macro flags updates, for Haiku