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:
parent
5120f4a3f9
commit
9a24025661
10 changed files with 50 additions and 4 deletions
|
@ -10,6 +10,7 @@
|
|||
|
||||
// compile-flags: -C no-prepopulate-passes
|
||||
|
||||
#![crate_type = "lib"]
|
||||
#![feature(allocator)]
|
||||
|
||||
pub struct S {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue