]> git.lizzy.rs Git - rust.git/commit
Avoid loading the whole gdb debug scripts section.
authorRichard Diamond <wichard@vitalitystudios.com>
Tue, 15 Sep 2015 21:22:16 +0000 (16:22 -0500)
committerRichard Diamond <wichard@vitalitystudios.com>
Mon, 21 Sep 2015 20:43:52 +0000 (15:43 -0500)
commit9a2402566102dd54c66f55a62da93e1c7d93f761
tree8ad705d759548751418b982a6987e7870af4f889
parent5120f4a3f95f6695c711839b3cc8551303bee0e3
Avoid loading the whole gdb debug scripts section.

This is so LLVM isn't forced to load every byte of it. Also sets the alignment of
the load. Adds a test for the debug script section.
src/compiletest/runtest.rs
src/librustc_trans/trans/debuginfo/gdb.rs
src/test/codegen/adjustments.rs
src/test/codegen/coercions.rs
src/test/codegen/extern-functions.rs
src/test/codegen/function-arguments.rs
src/test/codegen/gdb_debug_script_load.rs [new file with mode: 0644]
src/test/codegen/link_section.rs
src/test/codegen/loads.rs
src/test/codegen/stores.rs