diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-01-22 22:11:14 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-01-22 22:11:14 +0000 |
commit | a73e920f0982137083ba6291842cd81f4100fb0e (patch) | |
tree | 735ba556e40735093f78a14fa917887377b9a16c /test/LTO | |
parent | efa1355495c836f13f98efbb27a99a4aabd60598 (diff) | |
download | llvm-a73e920f0982137083ba6291842cd81f4100fb0e.tar.gz llvm-a73e920f0982137083ba6291842cd81f4100fb0e.tar.bz2 llvm-a73e920f0982137083ba6291842cd81f4100fb0e.tar.xz |
Provide a dummy section to fix a crash with inline assembly in LTO.
Fixes pr18508.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199843 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/LTO')
-rw-r--r-- | test/LTO/current-section.ll | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/LTO/current-section.ll b/test/LTO/current-section.ll new file mode 100644 index 0000000000..f79b378318 --- /dev/null +++ b/test/LTO/current-section.ll @@ -0,0 +1,4 @@ +; RUN: llvm-as < %s >%t1 +; RUN: llvm-lto -o %t2 %t1 + +module asm ".align 4" |