diff options
| author | George Rimar <grimar@accesssoftek.com> | 2017-05-08 10:18:12 +0000 |
|---|---|---|
| committer | George Rimar <grimar@accesssoftek.com> | 2017-05-08 10:18:12 +0000 |
| commit | d86a4e505bb9a76feab10f587d311dd27227cd4b (patch) | |
| tree | 1df2a0ab1f882325a368b3ae8b84ee935566b5e3 /lld/test/ELF/linkerscript/Inputs | |
| parent | 810c6257f112e582624a70e9523d94275f66d004 (diff) | |
| download | bcm5719-llvm-d86a4e505bb9a76feab10f587d311dd27227cd4b.tar.gz bcm5719-llvm-d86a4e505bb9a76feab10f587d311dd27227cd4b.zip | |
[ELF] - Linkerscript: support combination of linkerscript and --compress-debug-sections.
Previously it was impossible to use linkerscript with --compress-debug-sections
because of assert failture:
Assertion failed: isFinalized(), file C:\llvm\lib\MC\StringTableBuilder.cpp, line 64
Patch fixes the issue
llvm-svn: 302413
Diffstat (limited to 'lld/test/ELF/linkerscript/Inputs')
| -rw-r--r-- | lld/test/ELF/linkerscript/Inputs/compress-debug-sections.s | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lld/test/ELF/linkerscript/Inputs/compress-debug-sections.s b/lld/test/ELF/linkerscript/Inputs/compress-debug-sections.s new file mode 100644 index 00000000000..703be5949e0 --- /dev/null +++ b/lld/test/ELF/linkerscript/Inputs/compress-debug-sections.s @@ -0,0 +1,3 @@ +.section .debug_str + .asciz "CCC" + .asciz "DDD" |

