about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-04-12 03:25:11 +0800
committerkennytm <kennytm@gmail.com>2018-04-12 03:34:49 +0800
commit57b15f62e0d64f3e206b3394f7117577fe971d57 (patch)
tree55f0c622967e29a3b13ba7f326e053758f8ddcdd /src/test/incremental/thinlto
parentdfdcf6361236442d9f9110d77d9f7e0b5937136c (diff)
parent18e95320986243696f31f4b596761eb35759dfe9 (diff)
downloadrust-57b15f62e0d64f3e206b3394f7117577fe971d57.tar.gz
rust-57b15f62e0d64f3e206b3394f7117577fe971d57.zip
Rollup merge of #49849 - alecmocatta:master, r=alexcrichton
Add --enable-debug flag to musl CI build script

Building for x86_64-unknown-linux-musl currently results in an executable lacking debug information for musl libc itself. If you request a backtrace in GDB while control flow is within musl – including sycalls made by musl – the result looks like:

```
#0  0x0000000000434b46 in __cp_end ()
#1  0x0000000000432dbd in __syscall_cp_c ()
#2  0x0000000000000000 in ?? ()
```

i.e. not very helpful. Adding --enable-debug resolves this, and --enable-optimize re-enables optimisations which default to off given the previous flag.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions