about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorAlec Mocatta <alecmocatta@users.noreply.github.com>2018-04-10 18:44:47 +0100
committerGitHub <noreply@github.com>2018-04-10 18:44:47 +0100
commit18e95320986243696f31f4b596761eb35759dfe9 (patch)
tree439aa394a85e016ea8cb33e6586dcfccd7e783d8 /src/test/incremental/thinlto
parentb2a7b94b8edf4e6858ee5878c3b9e6b410d00703 (diff)
downloadrust-18e95320986243696f31f4b596761eb35759dfe9.tar.gz
rust-18e95320986243696f31f4b596761eb35759dfe9.zip
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