projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[RuntimeDyld] Make sure we emit MachO __eh_frame and __gcc_except_tab sections,
[oota-llvm.git]
/
test
/
ExecutionEngine
/
RuntimeDyld
/
X86
/
MachO_x86-64_PIC_relocations.s
diff --git
a/test/ExecutionEngine/RuntimeDyld/X86/MachO_x86-64_PIC_relocations.s
b/test/ExecutionEngine/RuntimeDyld/X86/MachO_x86-64_PIC_relocations.s
index 502f276501f84e4775ca4c8861b5dca1885d60c4..f28e4d245994ee27d88c05ab8d593778c3def69f 100644
(file)
--- a/
test/ExecutionEngine/RuntimeDyld/X86/MachO_x86-64_PIC_relocations.s
+++ b/
test/ExecutionEngine/RuntimeDyld/X86/MachO_x86-64_PIC_relocations.s
@@
-31,6
+31,13
@@
insn3:
movl $0, %eax
retq
movl $0, %eax
retq
+# Test processing of the __eh_frame section.
+# rtdyld-check: *{8}(section_addr(test_x86-64.o, __eh_frame) + 0x20) = eh_frame_test - (section_addr(test_x86-64.o, __eh_frame) + 0x20)
+eh_frame_test:
+ .cfi_startproc
+ retq
+ .cfi_endproc
+
.comm y,4,2
.section __DATA,__data
.comm y,4,2
.section __DATA,__data