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.
This commit is contained in:
Richard Diamond 2015-09-15 16:22:16 -05:00
parent 5120f4a3f9
commit 9a24025661
10 changed files with 50 additions and 4 deletions

View file

@ -10,6 +10,7 @@
// compile-flags: -C no-prepopulate-passes
#![crate_type = "lib"]
#![feature(allocator)]
pub struct S {