diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-08-26 22:49:51 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-08-26 22:49:51 +0000 |
commit | 418706d9a8a304630ddecc3709598d823bee8188 (patch) | |
tree | f98fc31749e21c56fa7e77437b0c1258e07e632c /test/MC | |
parent | 1ea86df7ddb44659fbf694934abb2177beed8637 (diff) | |
download | external_llvm-418706d9a8a304630ddecc3709598d823bee8188.zip external_llvm-418706d9a8a304630ddecc3709598d823bee8188.tar.gz external_llvm-418706d9a8a304630ddecc3709598d823bee8188.tar.bz2 |
llvm-mc/Mach-O: Unique sections properly, so we don't get duplicate text
sections, etc.
- The quick and dirty way, just clone the TargetLoweringObjectFile
code. Eventually this should be shared... somehow.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80168 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/MachO/sections.s | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/MC/MachO/sections.s b/test/MC/MachO/sections.s index 11a86a9..bcbd9f4 100644 --- a/test/MC/MachO/sections.s +++ b/test/MC/MachO/sections.s @@ -1,5 +1,8 @@ // RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | macho-dump | FileCheck %s + .text + .section __TEXT,__text,regular,pure_instructions + .const .static_const .cstring |