diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-10 01:39:42 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-10 01:39:42 +0000 |
commit | ff4bc460c52c1f285d8a56da173641bf92d49e3f (patch) | |
tree | 7da0d5977dffaffaa4bb5da91039d0960f839f77 /test/CodeGen/ARM/stubs.ll | |
parent | e36df3fd31a08a41d9ad04fcba182b616b030c9c (diff) |
Make the big switch: Change MCSectionMachO to represent a section *semantically*
instead of syntactically as a string. This means that it keeps track of the
segment, section, flags, etc directly and asmprints them in the right format.
This also includes parsing and validation support for llvm-mc and
"attribute(section)", so we should now start getting errors about invalid
section attributes from the compiler instead of the assembler on darwin.
Still todo:
1) Uniquing of darwin mcsections
2) Move all the Darwin stuff out to MCSectionMachO.[cpp|h]
3) there are a few FIXMEs, for example what is the syntax to get the
S_GB_ZEROFILL segment type?
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78547 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/stubs.ll')
-rw-r--r-- | test/CodeGen/ARM/stubs.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/ARM/stubs.ll b/test/CodeGen/ARM/stubs.ll index 7c9cc239f0..baf6b7e63a 100644 --- a/test/CodeGen/ARM/stubs.ll +++ b/test/CodeGen/ARM/stubs.ll @@ -39,7 +39,7 @@ define available_externally i32 @exact_log2(i64 %x) nounwind { ; PIC: L_exact_log2$slp: ; PIC: .long L_exact_log2$lazy_ptr-(L_exact_log2$scv+8) -; PIC: .lazy_symbol_pointer +; PIC: .section __DATA,__la_symbol_ptr,lazy_symbol_pointers ; PIC: L_exact_log2$lazy_ptr: ; PIC: .indirect_symbol _exact_log2 ; PIC: .long dyld_stub_binding_helper @@ -55,7 +55,7 @@ define available_externally i32 @exact_log2(i64 %x) nounwind { ; DYNAMIC: L_exact_log2$slp: ; DYNAMIC: .long L_exact_log2$lazy_ptr -; DYNAMIC: .lazy_symbol_pointer +; DYNAMIC: .section __DATA,__la_symbol_ptr,lazy_symbol_pointers ; DYNAMIC: L_exact_log2$lazy_ptr: ; DYNAMIC: .indirect_symbol _exact_log2 ; DYNAMIC: .long dyld_stub_binding_helper |