Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
Pyston
Commits
f6167379
Commit
f6167379
authored
Jun 04, 2014
by
Kevin Modzelewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to a newer version of llvm
parent
74788b10
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
llvm_revision.txt
llvm_revision.txt
+1
-1
src/codegen/irgen.cpp
src/codegen/irgen.cpp
+5
-0
tools/find_problem.py
tools/find_problem.py
+3
-3
No files found.
llvm_revision.txt
View file @
f6167379
20
6654
20
8817
src/codegen/irgen.cpp
View file @
f6167379
...
...
@@ -848,6 +848,11 @@ static llvm::MDNode* setupDebugInfo(SourceInfo* source, llvm::Function* f, std::
llvm
::
DICompositeType
func_type
=
builder
.
createSubroutineType
(
file
,
param_types
);
llvm
::
DISubprogram
func_info
=
builder
.
createFunction
(
file
,
f
->
getName
(),
f
->
getName
(),
file
,
lineno
,
func_type
,
false
,
true
,
lineno
+
1
,
0
,
true
,
f
);
// The 'variables' field gets initialized with a tag-prefixed array, but
// a later verifier asserts that there is no tag. Replace it with an empty array:
func_info
.
getVariables
()
->
replaceAllUsesWith
(
builder
.
getOrCreateArray
(
llvm
::
ArrayRef
<
llvm
::
Value
*>
()));
llvm
::
DICompileUnit
compile_unit
=
builder
.
createCompileUnit
(
llvm
::
dwarf
::
DW_LANG_Python
,
fn
,
dir
,
producer
,
true
,
""
,
0
);
...
...
tools/find_problem.py
View file @
f6167379
...
...
@@ -4,9 +4,9 @@ import subprocess
import
sys
def
test
(
rev
,
args
):
subprocess
.
check_call
([
"make"
,
"llvm_
gitup
"
,
"LLVM_REVISION=%d"
%
rev
])
subprocess
.
check_call
([
"make"
,
"llvm_release"
,
"llvm_quick"
,
"LLVM_REVISION=%d"
%
rev
])
code
=
subprocess
.
call
([
"make"
,
"LLVM_REVISION=%d"
%
rev
]
+
args
)
subprocess
.
check_call
([
"make"
,
"llvm_
up"
,
"USE_TEST_LLVM=1
"
,
"LLVM_REVISION=%d"
%
rev
])
subprocess
.
check_call
([
"make"
,
"llvm_release"
,
"llvm_quick"
,
"
USE_TEST_LLVM=1"
,
"
LLVM_REVISION=%d"
%
rev
])
code
=
subprocess
.
call
([
"make"
,
"
USE_TEST_LLVM=1"
,
"
LLVM_REVISION=%d"
%
rev
]
+
args
)
return
code
==
0
def
efficiency
(
rid
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment