Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
llvm-epi-0.8
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Roger Ferrer
llvm-epi-0.8
Commits
9b48fef4
Commit
9b48fef4
authored
14 years ago
by
Eric Christopher
Browse files
Options
Downloads
Patches
Plain Diff
Revert r125960, it's breaking darwin10 bootstrap.
llvm-svn: 126163
parent
d7b0cb53
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+8
-4
8 additions, 4 deletions
llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
llvm/test/CodeGen/X86/non-globl-eh-frame.ll
+0
-24
0 additions, 24 deletions
llvm/test/CodeGen/X86/non-globl-eh-frame.ll
with
8 additions
and
28 deletions
llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+
8
−
4
View file @
9b48fef4
...
...
@@ -441,11 +441,15 @@ void TargetLoweringObjectFileMachO::Initialize(MCContext &Ctx,
Triple
T
(((
LLVMTargetMachine
&
)
TM
).
getTargetTriple
());
if
(
T
.
getOS
()
==
Triple
::
Darwin
)
{
unsigned
MajNum
=
T
.
getDarwinMajorNumber
();
if
(
MajNum
==
7
||
MajNum
==
8
)
// 10.3 Panther, 10.4 Tiger
switch
(
T
.
getDarwinMajorNumber
())
{
case
7
:
// 10.3 Panther.
case
8
:
// 10.4 Tiger.
CommDirectiveSupportsAlignment
=
false
;
if
(
MajNum
>
9
)
// 10.6 SnowLeopard
IsFunctionEHSymbolGlobal
=
false
;
break
;
case
9
:
// 10.5 Leopard.
case
10
:
// 10.6 SnowLeopard.
break
;
}
}
TargetLoweringObjectFile
::
Initialize
(
Ctx
,
TM
);
...
...
This diff is collapsed.
Click to expand it.
llvm/test/CodeGen/X86/non-globl-eh-frame.ll
deleted
100644 → 0
+
0
−
24
View file @
d7b0cb53
; RUN: llc < %s -mtriple x86_64-apple-darwin10 -march x86 | not grep {{.globl\[\[:space:\]\]*__Z4funcv.eh}}
; RUN: llc < %s -mtriple x86_64-apple-darwin9 -march x86 | FileCheck %s -check-prefix=DARWIN9
%struct.__pointer_type_info_pseudo
=
type
{
%struct.__type_info_pseudo
,
i32
,
%"struct.std::type_info"
*
}
%struct.__type_info_pseudo
=
type
{
i8
*,
i8
*
}
%"struct.std::type_info"
=
type
opaque
@.str
=
private
constant
[
12
x
i8
]
c"hello world\00"
,
align
1
@_ZTIPc
=
external
constant
%struct.__pointer_type_info_pseudo
define
void
@_Z4funcv
()
noreturn
optsize
ssp
{
entry:
%0
=
tail
call
i8
*
@__cxa_allocate_exception
(
i64
8
)
nounwind
%1
=
bitcast
i8
*
%0
to
i8
**
store
i8
*
getelementptr
inbounds
([
12
x
i8
]*
@.str
,
i64
0
,
i64
0
),
i8
**
%1
,
align
8
tail
call
void
@__cxa_throw
(
i8
*
%0
,
i8
*
bitcast
(
%struct.__pointer_type_info_pseudo
*
@_ZTIPc
to
i8
*),
void
(
i8
*)*
null
)
noreturn
unreachable
}
; DARWIN9: .globl __Z4funcv.eh
declare
i8
*
@__cxa_allocate_exception
(
i64
)
nounwind
declare
void
@__cxa_throw
(
i8
*,
i8
*,
void
(
i8
*)*)
noreturn
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment