diff options
| author | Richard Diamond <wichard@vitalitystudios.com> | 2015-09-15 16:22:16 -0500 |
|---|---|---|
| committer | Richard Diamond <wichard@vitalitystudios.com> | 2015-09-21 15:43:52 -0500 |
| commit | 9a2402566102dd54c66f55a62da93e1c7d93f761 (patch) | |
| tree | 8ad705d759548751418b982a6987e7870af4f889 /src/test/codegen/function-arguments.rs | |
| parent | 5120f4a3f95f6695c711839b3cc8551303bee0e3 (diff) | |
| download | rust-9a2402566102dd54c66f55a62da93e1c7d93f761.tar.gz rust-9a2402566102dd54c66f55a62da93e1c7d93f761.zip | |
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.
Diffstat (limited to 'src/test/codegen/function-arguments.rs')
| -rw-r--r-- | src/test/codegen/function-arguments.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/codegen/function-arguments.rs b/src/test/codegen/function-arguments.rs index 7706c97380b..90ced88324e 100644 --- a/src/test/codegen/function-arguments.rs +++ b/src/test/codegen/function-arguments.rs @@ -10,6 +10,7 @@ // compile-flags: -C no-prepopulate-passes +#![crate_type = "lib"] #![feature(allocator)] pub struct S { |
