[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
index 502f276501f84e4775ca4c8861b5dca1885d60c4..f28e4d245994ee27d88c05ab8d593778c3def69f 100644 (file)
@@ -31,6 +31,13 @@ insn3:
         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