Commit f6167379 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Update to a newer version of llvm

parent 74788b10
......@@ -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);
......
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment