epiqc / ScaffCC

Compilation, analysis and optimization framework for the Scaffold quantum programming language.
BSD 2-Clause "Simplified" License
188 stars 53 forks source link

Migrated to LLVM 6.0 #17

Closed xiangzhai closed 5 years ago

xiangzhai commented 6 years ago

Hi ScaffCC developers,

Reviewers: @ah744, Pranav Gokhale, Fred Chong Labels: need review

Regards, Leslie Zhai - a LLVM developer https://reviews.llvm.org/p/xiangzhai/

xiangzhai commented 6 years ago

Hi Pranav,

I workaround for llvm.X.i16 to llvm.X https://github.com/ScaffCC/scaff-llvm/commit/05998b8d51340f78cad54b82fadb1b0efd2bb45a as @ajavadia implemented in https://github.com/epiqc/ScaffCC/commit/90554ebf384465806eb329d2d1eda609133e1610

But I am not familiar with Quantum Algorithm implemented in scaffold, I am good at C/C++ and Assembly, even that scaffold is C-like language, sorry it is beyond my knowledge, I am only B.S. Computer Science https://www.llvm.org.cn/xiangzhai/

Regards, Leslie Zhai

singular-value commented 6 years ago

Thanks @xiangzhai, okay we will figure out the quantum-related changes later then.

I've just gone through some llvm + clang tutorials (I'm new to both) to understand the general changes better.

One question I have for you: in the current codebase, there are Scaffold-specific passes in llvm/lib/Transforms/Scaffold. Since you removed the llvm directory, what happens to these passes?

singular-value commented 6 years ago

Oh, actually never mind, ignore my previous comment. I understand now. (I had been looking at https://github.com/ScaffCC/ScaffCC where you had separated llvm and clang to https://github.com/ScaffCC/scaff-llvm and https://github.com/ScaffCC/scaff-clang)

xiangzhai commented 6 years ago

@singular-value yes, the advantage of separated llvm and clang is to make repository small, and easy to merge upstream.

singular-value commented 6 years ago

@xiangzhai in README.md, can you maintain the references to https://github.com/epiqc/ instead of https://github.com/ScaffCC? Specifically the blue highlighted lines below: image

singular-value commented 6 years ago

By the way @xiangzhai, out of curiosity, how did you fix the code formatting/style issues in binary_welded_tree.n100s100.scaffold (and others). Did you use a linter?

singular-value commented 6 years ago

Oh I'm guessing you used clang-format?

xiangzhai commented 6 years ago

@singular-value yes clang-format :) http://clang.llvm.org/docs/ClangFormat.html

singular-value commented 6 years ago

Thanks :)

One more request, could you also incorporate the fixed mac OS X compilation from https://github.com/ScaffCC/ScaffCC/commit/56a8f7fc8de6cfd043df473701df6502246b34da?

singular-value commented 6 years ago

Also, I've now finished reading through all of your code. Thanks again for undertaking this effort.

However, the regression tests (scripts/regression.test.sh) don't pass for me. Here's the output:

pranav@everest:~/ScaffCC/scripts$ ./regression_test.sh 
          Regression Test          
===================================
/bin/bash: ./../build/bin/clang: No such file or directory
make: *** [cat_state.n04.ll] Error 127
Traceback (most recent call last):
  File "get_total_gates_line.py", line 4, in <module>
    the_file = open(sys.argv[1],"r")
IOError: [Errno 2] No such file or directory: '*.resources'
0a1
> total_gates = 4
cmp: EOF on total_gates.txt
[./../test_cases/Cat_State] Generating Resource Estimate Failed
[Scaffold.makefile] Compiling cat_state.n04_merged.scaffold ...
/bin/bash: ./../build/bin/clang: No such file or directory
make: *** [cat_state.n04.ll] Error 127
cmp: *.qasmh: No such file or directory
[./../test_cases/Cat_State] Generating QASM Failed
[Scaffold.makefile] Compiling cat_state.n04_merged.scaffold ...
/bin/bash: ./../build/bin/clang: No such file or directory
make: *** [cat_state.n04.ll] Error 127
cmp: *.qasmf: No such file or directory
[./../test_cases/Cat_State] Generating Flattened QASM Failed
/bin/bash: ./../build/bin/clang: No such file or directory
make: *** [rkqc_test.n32.ll] Error 127
Traceback (most recent call last):
  File "get_total_gates_line.py", line 4, in <module>
    the_file = open(sys.argv[1],"r")
IOError: [Errno 2] No such file or directory: '*.resources'
0a1
> total_gates = 80
cmp: EOF on total_gates.txt
[./../test_cases/RKQC_Testing] Generating Resource Estimate Failed
[Scaffold.makefile] Compiling rkqc_test.n32_merged.scaffold ...
/bin/bash: ./../build/bin/clang: No such file or directory
make: *** [rkqc_test.n32.ll] Error 127
cmp: *.qasmh: No such file or directory
[./../test_cases/RKQC_Testing] Generating QASM Failed
[Scaffold.makefile] Compiling rkqc_test.n32_merged.scaffold ...
/bin/bash: ./../build/bin/clang: No such file or directory
make: *** [rkqc_test.n32.ll] Error 127
cmp: *.qasmf: No such file or directory
[./../test_cases/RKQC_Testing] Generating Flattened QASM Failed
/bin/bash: ./../build/bin/clang: No such file or directory
make: *** [square_root.n10.ll] Error 127
Traceback (most recent call last):
  File "get_total_gates_line.py", line 4, in <module>
    the_file = open(sys.argv[1],"r")
IOError: [Errno 2] No such file or directory: '*.resources'
0a1
> total_gates = 18370
cmp: EOF on total_gates.txt
[./../test_cases/Square_Root] Generating Resource Estimate Failed
[Scaffold.makefile] Compiling square_root.n10_merged.scaffold ...
/bin/bash: ./../build/bin/clang: No such file or directory
make: *** [square_root.n10.ll] Error 127
cmp: *.qasmh: No such file or directory
[./../test_cases/Square_Root] Generating QASM Failed
[Scaffold.makefile] Compiling square_root.n10_merged.scaffold ...
/bin/bash: ./../build/bin/clang: No such file or directory
make: *** [square_root.n10.ll] Error 127
cmp: *.qasmf: No such file or directory
[./../test_cases/Square_Root] Generating Flattened QASM Failed
===================================

I'm ran this on Ubuntu 14.04. Do you know what the issue is? The regression tests passes fine in master.

xiangzhai commented 6 years ago

@singular-value you need to build the whole ScaffCC as below directory tree, if still failed to work, I will check it again :)

xiangzhai commented 6 years ago

@singular-value you need to build the whole ScaffCC :) the directory tree looks like:

├── Algorithms
├── braidflash
├── build <- whole ScaffCC toolchain
├── clang
├── docs
├── llvm
├── rkqc
├── Rotations
├── scaffold
├── scripts
└── test_cases

Then goto scripts directory, run the regression test:

[xiangzhai@LLVMChina scripts]$ ./regression_test.sh 
          Regression Test          
===================================
clang version 6.0.0 (git@github.com:llvm-mirror/clang.git ad3f9b30638c5bb392c2e78c5bb09da1c58cf7f8) (git@github.com:llvm-mirror/llvm.git 5fd4adc03525a1d1a6a6445fb6d25b7ff2f000bd)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /data/project/ScaffCC/ScaffCC/scripts/./../build/bin
Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/6.3.1
Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/6.4.1
Selected GCC installation: /usr/lib/gcc/x86_64-redhat-linux/6.4.1
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64
Found CUDA installation: /usr/local/cuda, version 9.0
 "/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0" -cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -disable-free -main-file-name cat_state.n04_merged.scaffold -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -v -coverage-notes-file /data/project/ScaffCC/ScaffCC/scripts/cat_state.n04.gcno -resource-dir /data/project/ScaffCC/ScaffCC/build/lib/clang/6.0.0 -I ./../test_cases/Cat_State/ -internal-isystem /usr/local/include -internal-isystem /data/project/ScaffCC/ScaffCC/build/lib/clang/6.0.0/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir /data/project/ScaffCC/ScaffCC/scripts -ferror-limit 19 -fmessage-length 103 -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -disable-O0-optnone -o cat_state.n04.ll -x c cat_state.n04_merged.scaffold
clang -cc1 version 6.0.0 based upon LLVM 6.0.0svn default target x86_64-unknown-linux-gnu
ignoring nonexistent directory "/include"
#include "..." search starts here:
#include <...> search starts here:
 ./../test_cases/Cat_State
 /usr/local/include
 /data/project/ScaffCC/ScaffCC/build/lib/clang/6.0.0/include
 /usr/include
End of search list.
Functions Cloned: 1
Functions Cloned: 0
Functions Cloned: 0
2d1
< 
cmp: EOF on ./../test_cases/Cat_State/total_gates.txt
[./../test_cases/Cat_State] Generating Resource Estimate Failed
[Scaffold.makefile] Compiling cat_state.n04_merged.scaffold ...
clang version 6.0.0 (git@github.com:llvm-mirror/clang.git ad3f9b30638c5bb392c2e78c5bb09da1c58cf7f8) (git@github.com:llvm-mirror/llvm.git 5fd4adc03525a1d1a6a6445fb6d25b7ff2f000bd)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /data/project/ScaffCC/ScaffCC/scripts/./../build/bin
Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/6.3.1
Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/6.4.1
Selected GCC installation: /usr/lib/gcc/x86_64-redhat-linux/6.4.1
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64
Found CUDA installation: /usr/local/cuda, version 9.0
 "/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0" -cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -disable-free -main-file-name cat_state.n04_merged.scaffold -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -v -coverage-notes-file /data/project/ScaffCC/ScaffCC/scripts/cat_state.n04.gcno -resource-dir /data/project/ScaffCC/ScaffCC/build/lib/clang/6.0.0 -I ./../test_cases/Cat_State/ -internal-isystem /usr/local/include -internal-isystem /data/project/ScaffCC/ScaffCC/build/lib/clang/6.0.0/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir /data/project/ScaffCC/ScaffCC/scripts -ferror-limit 19 -fmessage-length 103 -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -disable-O0-optnone -o cat_state.n04.ll -x c cat_state.n04_merged.scaffold
clang -cc1 version 6.0.0 based upon LLVM 6.0.0svn default target x86_64-unknown-linux-gnu
ignoring nonexistent directory "/include"
#include "..." search starts here:
#include <...> search starts here:
 ./../test_cases/Cat_State
 /usr/local/include
 /data/project/ScaffCC/ScaffCC/build/lib/clang/6.0.0/include
 /usr/include
End of search list.
[Scaffold.makefile] Transforming cbits ...
[Scaffold.makefile] O1 optimizations ...
[Scaffold.makefile] Unrolling Loops (1) ...
[Scaffold.makefile] Cloning Functions (1) ...
Functions Cloned: 1
[Scaffold.makefile] Dead Argument Elimination (1) ...
[Scaffold.makefile] Unrolling Loops (2) ...
[Scaffold.makefile] Cloning Functions (2) ...
Functions Cloned: 0
[Scaffold.makefile] Dead Argument Elimination (2) ...
[Scaffold.makefile] Unrolling Loops (3) ...
[Scaffold.makefile] Cloning Functions (3) ...
Functions Cloned: 0
[Scaffold.makefile] Dead Argument Elimination (3) ...
[Scaffold.makefile] Internalizing and Removing Unused Functions ...
[Scaffold.makefile] Toffoli Decomposition ...
[Scaffold.makefile] Inserting Reverse Functions...
[Scaffold.makefile] Generating hierarchical QASM ...
[Scaffold.makefile] Hierarchical QASM written to cat_state.n04.qasmh ...
cat_state.n04.qasmh ./../test_cases/Cat_State/cat_state.n04.qasmh differ: byte 39, line 3
[./../test_cases/Cat_State] Generating QASM Failed
[Scaffold.makefile] Compiling cat_state.n04_merged.scaffold ...
clang version 6.0.0 (git@github.com:llvm-mirror/clang.git ad3f9b30638c5bb392c2e78c5bb09da1c58cf7f8) (git@github.com:llvm-mirror/llvm.git 5fd4adc03525a1d1a6a6445fb6d25b7ff2f000bd)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /data/project/ScaffCC/ScaffCC/scripts/./../build/bin
Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/6.3.1
Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/6.4.1
Selected GCC installation: /usr/lib/gcc/x86_64-redhat-linux/6.4.1
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64
Found CUDA installation: /usr/local/cuda, version 9.0
 "/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0" -cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -disable-free -main-file-name cat_state.n04_merged.scaffold -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -v -coverage-notes-file /data/project/ScaffCC/ScaffCC/scripts/cat_state.n04.gcno -resource-dir /data/project/ScaffCC/ScaffCC/build/lib/clang/6.0.0 -I ./../test_cases/Cat_State/ -internal-isystem /usr/local/include -internal-isystem /data/project/ScaffCC/ScaffCC/build/lib/clang/6.0.0/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir /data/project/ScaffCC/ScaffCC/scripts -ferror-limit 19 -fmessage-length 103 -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -disable-O0-optnone -o cat_state.n04.ll -x c cat_state.n04_merged.scaffold
clang -cc1 version 6.0.0 based upon LLVM 6.0.0svn default target x86_64-unknown-linux-gnu
ignoring nonexistent directory "/include"
#include "..." search starts here:
#include <...> search starts here:
 ./../test_cases/Cat_State
 /usr/local/include
 /data/project/ScaffCC/ScaffCC/build/lib/clang/6.0.0/include
 /usr/include
End of search list.
[Scaffold.makefile] Transforming cbits ...
[Scaffold.makefile] O1 optimizations ...
[Scaffold.makefile] Unrolling Loops (1) ...
[Scaffold.makefile] Cloning Functions (1) ...
Functions Cloned: 1
[Scaffold.makefile] Dead Argument Elimination (1) ...
[Scaffold.makefile] Unrolling Loops (2) ...
[Scaffold.makefile] Cloning Functions (2) ...
Functions Cloned: 0
[Scaffold.makefile] Dead Argument Elimination (2) ...
[Scaffold.makefile] Unrolling Loops (3) ...
[Scaffold.makefile] Cloning Functions (3) ...
Functions Cloned: 0
[Scaffold.makefile] Dead Argument Elimination (3) ...
[Scaffold.makefile] Internalizing and Removing Unused Functions ...
[Scaffold.makefile] Toffoli Decomposition ...
[Scaffold.makefile] Inserting Reverse Functions...
[Scaffold.makefile] Flattening modules ...
[Scaffold.makefile] Generating flattened QASM ...
[Scaffold.makefile] Flat QASM written to cat_state.n04.qasmf ...
[./../test_cases/Cat_State] Generating Flattened QASM Succeeded
clang version 6.0.0 (git@github.com:llvm-mirror/clang.git ad3f9b30638c5bb392c2e78c5bb09da1c58cf7f8) (git@github.com:llvm-mirror/llvm.git 5fd4adc03525a1d1a6a6445fb6d25b7ff2f000bd)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /data/project/ScaffCC/ScaffCC/scripts/./../build/bin
Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/6.3.1
Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/6.4.1
Selected GCC installation: /usr/lib/gcc/x86_64-redhat-linux/6.4.1
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64
Found CUDA installation: /usr/local/cuda, version 9.0
 "/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0" -cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -disable-free -main-file-name rkqc_test.n32_merged.scaffold -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -v -coverage-notes-file /data/project/ScaffCC/ScaffCC/scripts/rkqc_test.n32.gcno -resource-dir /data/project/ScaffCC/ScaffCC/build/lib/clang/6.0.0 -I ./../test_cases/RKQC_Testing/ -internal-isystem /usr/local/include -internal-isystem /data/project/ScaffCC/ScaffCC/build/lib/clang/6.0.0/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir /data/project/ScaffCC/ScaffCC/scripts -ferror-limit 19 -fmessage-length 103 -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -disable-O0-optnone -o rkqc_test.n32.ll -x c rkqc_test.n32_merged.scaffold
clang -cc1 version 6.0.0 based upon LLVM 6.0.0svn default target x86_64-unknown-linux-gnu
ignoring nonexistent directory "/include"
#include "..." search starts here:
#include <...> search starts here:
 ./../test_cases/RKQC_Testing
 /usr/local/include
 /data/project/ScaffCC/ScaffCC/build/lib/clang/6.0.0/include
 /usr/include
End of search list.
Functions Cloned: 0
Functions Cloned: 0
2d1
< 
cmp: EOF on ./../test_cases/RKQC_Testing/total_gates.txt
[./../test_cases/RKQC_Testing] Generating Resource Estimate Failed
[Scaffold.makefile] Compiling rkqc_test.n32_merged.scaffold ...
clang version 6.0.0 (git@github.com:llvm-mirror/clang.git ad3f9b30638c5bb392c2e78c5bb09da1c58cf7f8) (git@github.com:llvm-mirror/llvm.git 5fd4adc03525a1d1a6a6445fb6d25b7ff2f000bd)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /data/project/ScaffCC/ScaffCC/scripts/./../build/bin
Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/6.3.1
Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/6.4.1
Selected GCC installation: /usr/lib/gcc/x86_64-redhat-linux/6.4.1
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64
Found CUDA installation: /usr/local/cuda, version 9.0
 "/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0" -cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -disable-free -main-file-name rkqc_test.n32_merged.scaffold -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -v -coverage-notes-file /data/project/ScaffCC/ScaffCC/scripts/rkqc_test.n32.gcno -resource-dir /data/project/ScaffCC/ScaffCC/build/lib/clang/6.0.0 -I ./../test_cases/RKQC_Testing/ -internal-isystem /usr/local/include -internal-isystem /data/project/ScaffCC/ScaffCC/build/lib/clang/6.0.0/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir /data/project/ScaffCC/ScaffCC/scripts -ferror-limit 19 -fmessage-length 103 -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -disable-O0-optnone -o rkqc_test.n32.ll -x c rkqc_test.n32_merged.scaffold
clang -cc1 version 6.0.0 based upon LLVM 6.0.0svn default target x86_64-unknown-linux-gnu
ignoring nonexistent directory "/include"
#include "..." search starts here:
#include <...> search starts here:
 ./../test_cases/RKQC_Testing
 /usr/local/include
 /data/project/ScaffCC/ScaffCC/build/lib/clang/6.0.0/include
 /usr/include
End of search list.
[Scaffold.makefile] Transforming cbits ...
[Scaffold.makefile] O1 optimizations ...
[Scaffold.makefile] Unrolling Loops (1) ...
[Scaffold.makefile] Cloning Functions (1) ...
Functions Cloned: 0
[Scaffold.makefile] Dead Argument Elimination (1) ...
[Scaffold.makefile] Unrolling Loops (2) ...
[Scaffold.makefile] Cloning Functions (2) ...
Functions Cloned: 0
[Scaffold.makefile] Dead Argument Elimination (2) ...
[Scaffold.makefile] Internalizing and Removing Unused Functions ...
[Scaffold.makefile] Compiling RKQC Functions ...
[Scaffold.makefile] Toffoli Decomposition ...
[Scaffold.makefile] Inserting Reverse Functions...
[Scaffold.makefile] Generating hierarchical QASM ...
[Scaffold.makefile] Hierarchical QASM written to rkqc_test.n32.qasmh ...
rkqc_test.n32.qasmh ./../test_cases/RKQC_Testing/rkqc_test.n32.qasmh differ: byte 39, line 3
[./../test_cases/RKQC_Testing] Generating QASM Failed
[Scaffold.makefile] Compiling rkqc_test.n32_merged.scaffold ...
clang version 6.0.0 (git@github.com:llvm-mirror/clang.git ad3f9b30638c5bb392c2e78c5bb09da1c58cf7f8) (git@github.com:llvm-mirror/llvm.git 5fd4adc03525a1d1a6a6445fb6d25b7ff2f000bd)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /data/project/ScaffCC/ScaffCC/scripts/./../build/bin
Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/6.3.1
Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/6.4.1
Selected GCC installation: /usr/lib/gcc/x86_64-redhat-linux/6.4.1
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64
Found CUDA installation: /usr/local/cuda, version 9.0
 "/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0" -cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -disable-free -main-file-name rkqc_test.n32_merged.scaffold -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -v -coverage-notes-file /data/project/ScaffCC/ScaffCC/scripts/rkqc_test.n32.gcno -resource-dir /data/project/ScaffCC/ScaffCC/build/lib/clang/6.0.0 -I ./../test_cases/RKQC_Testing/ -internal-isystem /usr/local/include -internal-isystem /data/project/ScaffCC/ScaffCC/build/lib/clang/6.0.0/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir /data/project/ScaffCC/ScaffCC/scripts -ferror-limit 19 -fmessage-length 103 -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -disable-O0-optnone -o rkqc_test.n32.ll -x c rkqc_test.n32_merged.scaffold
clang -cc1 version 6.0.0 based upon LLVM 6.0.0svn default target x86_64-unknown-linux-gnu
ignoring nonexistent directory "/include"
#include "..." search starts here:
#include <...> search starts here:
 ./../test_cases/RKQC_Testing
 /usr/local/include
 /data/project/ScaffCC/ScaffCC/build/lib/clang/6.0.0/include
 /usr/include
End of search list.
[Scaffold.makefile] Transforming cbits ...
[Scaffold.makefile] O1 optimizations ...
[Scaffold.makefile] Unrolling Loops (1) ...
[Scaffold.makefile] Cloning Functions (1) ...
Functions Cloned: 0
[Scaffold.makefile] Dead Argument Elimination (1) ...
[Scaffold.makefile] Unrolling Loops (2) ...
[Scaffold.makefile] Cloning Functions (2) ...
Functions Cloned: 0
[Scaffold.makefile] Dead Argument Elimination (2) ...
[Scaffold.makefile] Internalizing and Removing Unused Functions ...
[Scaffold.makefile] Compiling RKQC Functions ...
[Scaffold.makefile] Toffoli Decomposition ...
[Scaffold.makefile] Inserting Reverse Functions...
[Scaffold.makefile] Flattening modules ...
[Scaffold.makefile] Generating flattened QASM ...
[Scaffold.makefile] Flat QASM written to rkqc_test.n32.qasmf ...
[./../test_cases/RKQC_Testing] Generating Flattened QASM Succeeded
clang version 6.0.0 (git@github.com:llvm-mirror/clang.git ad3f9b30638c5bb392c2e78c5bb09da1c58cf7f8) (git@github.com:llvm-mirror/llvm.git 5fd4adc03525a1d1a6a6445fb6d25b7ff2f000bd)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /data/project/ScaffCC/ScaffCC/scripts/./../build/bin
Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/6.3.1
Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/6.4.1
Selected GCC installation: /usr/lib/gcc/x86_64-redhat-linux/6.4.1
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64
Found CUDA installation: /usr/local/cuda, version 9.0
 "/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0" -cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -disable-free -main-file-name square_root.n10_merged.scaffold -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -v -coverage-notes-file /data/project/ScaffCC/ScaffCC/scripts/square_root.n10.gcno -resource-dir /data/project/ScaffCC/ScaffCC/build/lib/clang/6.0.0 -I ./../test_cases/Square_Root/ -internal-isystem /usr/local/include -internal-isystem /data/project/ScaffCC/ScaffCC/build/lib/clang/6.0.0/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir /data/project/ScaffCC/ScaffCC/scripts -ferror-limit 19 -fmessage-length 103 -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -disable-O0-optnone -o square_root.n10.ll -x c square_root.n10_merged.scaffold
clang -cc1 version 6.0.0 based upon LLVM 6.0.0svn default target x86_64-unknown-linux-gnu
ignoring nonexistent directory "/include"
#include "..." search starts here:
#include <...> search starts here:
 ./../test_cases/Square_Root
 /usr/local/include
 /data/project/ScaffCC/ScaffCC/build/lib/clang/6.0.0/include
 /usr/include
End of search list.
clang-6.0: /data/project/ScaffCC/ScaffCC/llvm/include/llvm/Support/MathExtras.h:678: uint64_t llvm::alignTo(uint64_t, uint64_t, uint64_t): Assertion `Align != 0u && "Align can't be 0."' failed.
#0 0x0000000001db3c1f llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0+0x1db3c1f)
#1 0x0000000001db3f26 SignalHandler(int) (/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0+0x1db3f26)
#2 0x00007fef4d6665d0 __restore_rt (/lib64/libpthread.so.0+0x115d0)
#3 0x00007fef4c1ce8df __GI_raise (/lib64/libc.so.6+0x358df)
#4 0x00007fef4c1d04da __GI_abort (/lib64/libc.so.6+0x374da)
#5 0x00007fef4c1c6d67 __assert_fail_base (/lib64/libc.so.6+0x2dd67)
#6 0x00007fef4c1c6e12 (/lib64/libc.so.6+0x2de12)
#7 0x00000000036341e3 clang::ASTContext::getTypeInfoInChars(clang::Type const*) const (/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0+0x36341e3)
#8 0x0000000001fd6fab clang::CodeGen::CodeGenModule::getTBAAAccessInfo(clang::QualType) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CodeGenModule.cpp:587:27
#9 0x00000000020ff1e2 clang::CodeGen::CodeGenFunction::MakeAddrLValue(clang::CodeGen::Address, clang::QualType, clang::CodeGen::AlignmentSource) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CodeGenFunction.h:1909:12
#10 0x00000000020ff1e2 clang::CodeGen::CodeGenFunction::EmitDeclRefLValue(clang::DeclRefExpr const*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGExpr.cpp:2418:0
#11 0x00000000020f48e0 clang::CodeGen::CodeGenFunction::EmitLValue(clang::Expr const*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGExpr.cpp:1154:12
#12 0x00000000020fd538 clang::CodeGen::CodeGenFunction::EmitArraySubscriptExpr(clang::ArraySubscriptExpr const*, bool) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGExpr.cpp:3311:15
#13 0x00000000020f46a2 clang::CodeGen::CodeGenFunction::EmitLValue(clang::Expr const*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGExpr.cpp:1215:12
#14 0x00000000020fc991 clang::CodeGen::CodeGenFunction::EmitCheckedLValue(clang::Expr const*, clang::CodeGen::CodeGenFunction::TypeCheckKind) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGExpr.cpp:1093:8
#15 0x0000000002134f59 (anonymous namespace)::ScalarExprEmitter::VisitBinAssign(clang::BinaryOperator const*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGExprScalar.cpp:3332:9
#16 0x0000000002134f59 clang::StmtVisitorBase<clang::make_ptr, (anonymous namespace)::ScalarExprEmitter, llvm::Value*>::Visit(clang::Stmt*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/include/clang/AST/StmtVisitor.h:74:0
#17 0x000000000212ccc6 (anonymous namespace)::ScalarExprEmitter::Visit(clang::Expr*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGExprScalar.cpp:358:52
#18 0x000000000212ccc6 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGExprScalar.cpp:3839:0
#19 0x00000000020f436c llvm::PointerIntPairInfo<llvm::Value*, 2u, llvm::PointerLikeTypeTraits<llvm::Value*> >::updatePointer(long, llvm::Value*) /data/project/ScaffCC/ScaffCC/llvm/include/llvm/ADT/PointerIntPair.h:162:5
#20 0x00000000020f436c llvm::PointerIntPair<llvm::Value*, 2u, clang::CodeGen::RValue::Flavor, llvm::PointerLikeTypeTraits<llvm::Value*>, llvm::PointerIntPairInfo<llvm::Value*, 2u, llvm::PointerLikeTypeTraits<llvm::Value*> > >::setPointer(llvm::Value*) /data/project/ScaffCC/ScaffCC/llvm/include/llvm/ADT/PointerIntPair.h:61:0
#21 0x00000000020f436c clang::CodeGen::RValue::get(llvm::Value*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGValue.h:88:0
#22 0x00000000020f436c clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGExpr.cpp:178:0
#23 0x00000000020f431d clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGExpr.cpp:167:1
#24 0x0000000001f833ed llvm::IRBuilderBase::GetInsertBlock() const /data/project/ScaffCC/ScaffCC/llvm/include/llvm/IR/IRBuilder.h:122:47
#25 0x0000000001f833ed clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef<clang::Attr const*>) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGStmt.cpp:109:0
#26 0x0000000001f8b26f clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGStmt.cpp:380:42
#27 0x0000000001fcb227 clang::CodeGen::CodeGenFunction::EmitFunctionBody(clang::CodeGen::FunctionArgList&, clang::Stmt const*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CodeGenFunction.cpp:1149:5
#28 0x0000000001fcb227 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CodeGenFunction.cpp:1314:0
#29 0x0000000001fdf6c1 clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl, llvm::GlobalValue*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CodeGenModule.cpp:3269:3
#30 0x0000000001fdadf5 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CodeGenModule.cpp:2045:12
#31 0x0000000001fe1843 clang::CodeGen::CodeGenModule::EmitTopLevelDecl(clang::Decl*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CodeGenModule.cpp:4011:5
#32 0x000000000268e3bf (anonymous namespace)::CodeGeneratorImpl::HandleTopLevelDecl(clang::DeclGroupRef) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/ModuleBuilder.cpp:159:73
#33 0x000000000268ba6c clang::BackendConsumer::HandleTopLevelDecl(clang::DeclGroupRef) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CodeGenAction.cpp:170:11
#34 0x0000000002b5a854 clang::ParseAST(clang::Sema&, bool, bool) (/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0+0x2b5a854)
#35 0x0000000002344698 clang::FrontendAction::Execute() (/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0+0x2344698)
#36 0x0000000002305d21 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0+0x2305d21)
#37 0x00000000023e2a18 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0+0x23e2a18)
#38 0x00000000008c3042 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0+0x8c3042)
#39 0x00000000008c136e main (/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0+0x8c136e)
#40 0x00007fef4c1b9431 __libc_start_main (/lib64/libc.so.6+0x20431)
#41 0x00000000008be71a _start (/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0+0x8be71a)
Stack dump:
0.      Program arguments: /data/project/ScaffCC/ScaffCC/build/bin/clang-6.0 -cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -disable-free -main-file-name square_root.n10_merged.scaffold -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -v -coverage-notes-file /data/project/ScaffCC/ScaffCC/scripts/square_root.n10.gcno -resource-dir /data/project/ScaffCC/ScaffCC/build/lib/clang/6.0.0 -I ./../test_cases/Square_Root/ -internal-isystem /usr/local/include -internal-isystem /data/project/ScaffCC/ScaffCC/build/lib/clang/6.0.0/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir /data/project/ScaffCC/ScaffCC/scripts -ferror-limit 19 -fmessage-length 103 -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -disable-O0-optnone -o square_root.n10.ll -x c square_root.n10_merged.scaffold 
1.      <eof> parser at end of file
2.      square_root.n10_merged.scaffold:161:5: LLVM IR generation of declaration 'main'
3.      square_root.n10_merged.scaffold:161:5: Generating code for declaration 'main'
clang-6.0: error: unable to execute command: Aborted (core dumped)
clang-6.0: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 6.0.0 (git@github.com:llvm-mirror/clang.git ad3f9b30638c5bb392c2e78c5bb09da1c58cf7f8) (git@github.com:llvm-mirror/llvm.git 5fd4adc03525a1d1a6a6445fb6d25b7ff2f000bd)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /data/project/ScaffCC/ScaffCC/scripts/./../build/bin
clang-6.0: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang-6.0: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-6.0: note: diagnostic msg: /tmp/square_root-7f25c2.c
clang-6.0: note: diagnostic msg: /tmp/square_root-7f25c2.sh
clang-6.0: note: diagnostic msg: 

********************
make: *** [square_root.n10.ll] Error 254
Traceback (most recent call last):
  File "get_total_gates_line.py", line 4, in <module>
    the_file = open(sys.argv[1],"r")
IOError: [Errno 2] No such file or directory: '*.resources'
0a1
> total_gates = 18370
cmp: EOF on total_gates.txt
[./../test_cases/Square_Root] Generating Resource Estimate Failed
[Scaffold.makefile] Compiling square_root.n10_merged.scaffold ...
clang version 6.0.0 (git@github.com:llvm-mirror/clang.git ad3f9b30638c5bb392c2e78c5bb09da1c58cf7f8) (git@github.com:llvm-mirror/llvm.git 5fd4adc03525a1d1a6a6445fb6d25b7ff2f000bd)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /data/project/ScaffCC/ScaffCC/scripts/./../build/bin
Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/6.3.1
Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/6.4.1
Selected GCC installation: /usr/lib/gcc/x86_64-redhat-linux/6.4.1
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64
Found CUDA installation: /usr/local/cuda, version 9.0
 "/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0" -cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -disable-free -main-file-name square_root.n10_merged.scaffold -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -v -coverage-notes-file /data/project/ScaffCC/ScaffCC/scripts/square_root.n10.gcno -resource-dir /data/project/ScaffCC/ScaffCC/build/lib/clang/6.0.0 -I ./../test_cases/Square_Root/ -internal-isystem /usr/local/include -internal-isystem /data/project/ScaffCC/ScaffCC/build/lib/clang/6.0.0/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir /data/project/ScaffCC/ScaffCC/scripts -ferror-limit 19 -fmessage-length 103 -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -disable-O0-optnone -o square_root.n10.ll -x c square_root.n10_merged.scaffold
clang -cc1 version 6.0.0 based upon LLVM 6.0.0svn default target x86_64-unknown-linux-gnu
ignoring nonexistent directory "/include"
#include "..." search starts here:
#include <...> search starts here:
 ./../test_cases/Square_Root
 /usr/local/include
 /data/project/ScaffCC/ScaffCC/build/lib/clang/6.0.0/include
 /usr/include
End of search list.
clang-6.0: /data/project/ScaffCC/ScaffCC/llvm/include/llvm/Support/MathExtras.h:678: uint64_t llvm::alignTo(uint64_t, uint64_t, uint64_t): Assertion `Align != 0u && "Align can't be 0."' failed.
#0 0x0000000001db3c1f llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0+0x1db3c1f)
#1 0x0000000001db3f26 SignalHandler(int) (/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0+0x1db3f26)
#2 0x00007fad0afd25d0 __restore_rt (/lib64/libpthread.so.0+0x115d0)
#3 0x00007fad09b3a8df __GI_raise (/lib64/libc.so.6+0x358df)
#4 0x00007fad09b3c4da __GI_abort (/lib64/libc.so.6+0x374da)
#5 0x00007fad09b32d67 __assert_fail_base (/lib64/libc.so.6+0x2dd67)
#6 0x00007fad09b32e12 (/lib64/libc.so.6+0x2de12)
#7 0x00000000036341e3 clang::ASTContext::getTypeInfoInChars(clang::Type const*) const (/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0+0x36341e3)
#8 0x0000000001fd6fab clang::CodeGen::CodeGenModule::getTBAAAccessInfo(clang::QualType) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CodeGenModule.cpp:587:27
#9 0x00000000020ff1e2 clang::CodeGen::CodeGenFunction::MakeAddrLValue(clang::CodeGen::Address, clang::QualType, clang::CodeGen::AlignmentSource) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CodeGenFunction.h:1909:12
#10 0x00000000020ff1e2 clang::CodeGen::CodeGenFunction::EmitDeclRefLValue(clang::DeclRefExpr const*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGExpr.cpp:2418:0
#11 0x00000000020f48e0 clang::CodeGen::CodeGenFunction::EmitLValue(clang::Expr const*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGExpr.cpp:1154:12
#12 0x00000000020fd538 clang::CodeGen::CodeGenFunction::EmitArraySubscriptExpr(clang::ArraySubscriptExpr const*, bool) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGExpr.cpp:3311:15
#13 0x00000000020f46a2 clang::CodeGen::CodeGenFunction::EmitLValue(clang::Expr const*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGExpr.cpp:1215:12
#14 0x00000000020fc991 clang::CodeGen::CodeGenFunction::EmitCheckedLValue(clang::Expr const*, clang::CodeGen::CodeGenFunction::TypeCheckKind) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGExpr.cpp:1093:8
#15 0x0000000002134f59 (anonymous namespace)::ScalarExprEmitter::VisitBinAssign(clang::BinaryOperator const*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGExprScalar.cpp:3332:9
#16 0x0000000002134f59 clang::StmtVisitorBase<clang::make_ptr, (anonymous namespace)::ScalarExprEmitter, llvm::Value*>::Visit(clang::Stmt*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/include/clang/AST/StmtVisitor.h:74:0
#17 0x000000000212ccc6 (anonymous namespace)::ScalarExprEmitter::Visit(clang::Expr*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGExprScalar.cpp:358:52
#18 0x000000000212ccc6 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGExprScalar.cpp:3839:0
#19 0x00000000020f436c llvm::PointerIntPairInfo<llvm::Value*, 2u, llvm::PointerLikeTypeTraits<llvm::Value*> >::updatePointer(long, llvm::Value*) /data/project/ScaffCC/ScaffCC/llvm/include/llvm/ADT/PointerIntPair.h:162:5
#20 0x00000000020f436c llvm::PointerIntPair<llvm::Value*, 2u, clang::CodeGen::RValue::Flavor, llvm::PointerLikeTypeTraits<llvm::Value*>, llvm::PointerIntPairInfo<llvm::Value*, 2u, llvm::PointerLikeTypeTraits<llvm::Value*> > >::setPointer(llvm::Value*) /data/project/ScaffCC/ScaffCC/llvm/include/llvm/ADT/PointerIntPair.h:61:0
#21 0x00000000020f436c clang::CodeGen::RValue::get(llvm::Value*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGValue.h:88:0
#22 0x00000000020f436c clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGExpr.cpp:178:0
#23 0x00000000020f431d clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGExpr.cpp:167:1
#24 0x0000000001f833ed llvm::IRBuilderBase::GetInsertBlock() const /data/project/ScaffCC/ScaffCC/llvm/include/llvm/IR/IRBuilder.h:122:47
#25 0x0000000001f833ed clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef<clang::Attr const*>) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGStmt.cpp:109:0
#26 0x0000000001f8b26f clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGStmt.cpp:380:42
#27 0x0000000001fcb227 clang::CodeGen::CodeGenFunction::EmitFunctionBody(clang::CodeGen::FunctionArgList&, clang::Stmt const*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CodeGenFunction.cpp:1149:5
#28 0x0000000001fcb227 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CodeGenFunction.cpp:1314:0
#29 0x0000000001fdf6c1 clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl, llvm::GlobalValue*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CodeGenModule.cpp:3269:3
#30 0x0000000001fdadf5 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CodeGenModule.cpp:2045:12
#31 0x0000000001fe1843 clang::CodeGen::CodeGenModule::EmitTopLevelDecl(clang::Decl*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CodeGenModule.cpp:4011:5
#32 0x000000000268e3bf (anonymous namespace)::CodeGeneratorImpl::HandleTopLevelDecl(clang::DeclGroupRef) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/ModuleBuilder.cpp:159:73
#33 0x000000000268ba6c clang::BackendConsumer::HandleTopLevelDecl(clang::DeclGroupRef) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CodeGenAction.cpp:170:11
#34 0x0000000002b5a854 clang::ParseAST(clang::Sema&, bool, bool) (/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0+0x2b5a854)
#35 0x0000000002344698 clang::FrontendAction::Execute() (/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0+0x2344698)
#36 0x0000000002305d21 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0+0x2305d21)
#37 0x00000000023e2a18 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0+0x23e2a18)
#38 0x00000000008c3042 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0+0x8c3042)
#39 0x00000000008c136e main (/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0+0x8c136e)
#40 0x00007fad09b25431 __libc_start_main (/lib64/libc.so.6+0x20431)
#41 0x00000000008be71a _start (/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0+0x8be71a)
Stack dump:
0.      Program arguments: /data/project/ScaffCC/ScaffCC/build/bin/clang-6.0 -cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -disable-free -main-file-name square_root.n10_merged.scaffold -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -v -coverage-notes-file /data/project/ScaffCC/ScaffCC/scripts/square_root.n10.gcno -resource-dir /data/project/ScaffCC/ScaffCC/build/lib/clang/6.0.0 -I ./../test_cases/Square_Root/ -internal-isystem /usr/local/include -internal-isystem /data/project/ScaffCC/ScaffCC/build/lib/clang/6.0.0/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir /data/project/ScaffCC/ScaffCC/scripts -ferror-limit 19 -fmessage-length 103 -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -disable-O0-optnone -o square_root.n10.ll -x c square_root.n10_merged.scaffold 
1.      <eof> parser at end of file
2.      square_root.n10_merged.scaffold:161:5: LLVM IR generation of declaration 'main'
3.      square_root.n10_merged.scaffold:161:5: Generating code for declaration 'main'
clang-6.0: error: unable to execute command: Aborted (core dumped)
clang-6.0: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 6.0.0 (git@github.com:llvm-mirror/clang.git ad3f9b30638c5bb392c2e78c5bb09da1c58cf7f8) (git@github.com:llvm-mirror/llvm.git 5fd4adc03525a1d1a6a6445fb6d25b7ff2f000bd)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /data/project/ScaffCC/ScaffCC/scripts/./../build/bin
clang-6.0: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang-6.0: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-6.0: note: diagnostic msg: /tmp/square_root-fa1120.c
clang-6.0: note: diagnostic msg: /tmp/square_root-fa1120.sh
clang-6.0: note: diagnostic msg: 

********************
../scaffold/Scaffold.makefile:85: recipe for target 'square_root.n10.ll' failed
make: *** [square_root.n10.ll] Error 254
cmp: *.qasmh: No such file or directory
[./../test_cases/Square_Root] Generating QASM Failed
[Scaffold.makefile] Compiling square_root.n10_merged.scaffold ...
clang version 6.0.0 (git@github.com:llvm-mirror/clang.git ad3f9b30638c5bb392c2e78c5bb09da1c58cf7f8) (git@github.com:llvm-mirror/llvm.git 5fd4adc03525a1d1a6a6445fb6d25b7ff2f000bd)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /data/project/ScaffCC/ScaffCC/scripts/./../build/bin
Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/6.3.1
Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/6.4.1
Selected GCC installation: /usr/lib/gcc/x86_64-redhat-linux/6.4.1
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64
Found CUDA installation: /usr/local/cuda, version 9.0
 "/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0" -cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -disable-free -main-file-name square_root.n10_merged.scaffold -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -v -coverage-notes-file /data/project/ScaffCC/ScaffCC/scripts/square_root.n10.gcno -resource-dir /data/project/ScaffCC/ScaffCC/build/lib/clang/6.0.0 -I ./../test_cases/Square_Root/ -internal-isystem /usr/local/include -internal-isystem /data/project/ScaffCC/ScaffCC/build/lib/clang/6.0.0/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir /data/project/ScaffCC/ScaffCC/scripts -ferror-limit 19 -fmessage-length 103 -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -disable-O0-optnone -o square_root.n10.ll -x c square_root.n10_merged.scaffold
clang -cc1 version 6.0.0 based upon LLVM 6.0.0svn default target x86_64-unknown-linux-gnu
ignoring nonexistent directory "/include"
#include "..." search starts here:
#include <...> search starts here:
 ./../test_cases/Square_Root
 /usr/local/include
 /data/project/ScaffCC/ScaffCC/build/lib/clang/6.0.0/include
 /usr/include
End of search list.
clang-6.0: /data/project/ScaffCC/ScaffCC/llvm/include/llvm/Support/MathExtras.h:678: uint64_t llvm::alignTo(uint64_t, uint64_t, uint64_t): Assertion `Align != 0u && "Align can't be 0."' failed.
#0 0x0000000001db3c1f llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0+0x1db3c1f)
#1 0x0000000001db3f26 SignalHandler(int) (/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0+0x1db3f26)
#2 0x00007f8e0a4335d0 __restore_rt (/lib64/libpthread.so.0+0x115d0)
#3 0x00007f8e08f9b8df __GI_raise (/lib64/libc.so.6+0x358df)
#4 0x00007f8e08f9d4da __GI_abort (/lib64/libc.so.6+0x374da)
#5 0x00007f8e08f93d67 __assert_fail_base (/lib64/libc.so.6+0x2dd67)
#6 0x00007f8e08f93e12 (/lib64/libc.so.6+0x2de12)
#7 0x00000000036341e3 clang::ASTContext::getTypeInfoInChars(clang::Type const*) const (/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0+0x36341e3)
#8 0x0000000001fd6fab clang::CodeGen::CodeGenModule::getTBAAAccessInfo(clang::QualType) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CodeGenModule.cpp:587:27
#9 0x00000000020ff1e2 clang::CodeGen::CodeGenFunction::MakeAddrLValue(clang::CodeGen::Address, clang::QualType, clang::CodeGen::AlignmentSource) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CodeGenFunction.h:1909:12
#10 0x00000000020ff1e2 clang::CodeGen::CodeGenFunction::EmitDeclRefLValue(clang::DeclRefExpr const*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGExpr.cpp:2418:0
#11 0x00000000020f48e0 clang::CodeGen::CodeGenFunction::EmitLValue(clang::Expr const*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGExpr.cpp:1154:12
#12 0x00000000020fd538 clang::CodeGen::CodeGenFunction::EmitArraySubscriptExpr(clang::ArraySubscriptExpr const*, bool) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGExpr.cpp:3311:15
#13 0x00000000020f46a2 clang::CodeGen::CodeGenFunction::EmitLValue(clang::Expr const*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGExpr.cpp:1215:12
#14 0x00000000020fc991 clang::CodeGen::CodeGenFunction::EmitCheckedLValue(clang::Expr const*, clang::CodeGen::CodeGenFunction::TypeCheckKind) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGExpr.cpp:1093:8
#15 0x0000000002134f59 (anonymous namespace)::ScalarExprEmitter::VisitBinAssign(clang::BinaryOperator const*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGExprScalar.cpp:3332:9
#16 0x0000000002134f59 clang::StmtVisitorBase<clang::make_ptr, (anonymous namespace)::ScalarExprEmitter, llvm::Value*>::Visit(clang::Stmt*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/include/clang/AST/StmtVisitor.h:74:0
#17 0x000000000212ccc6 (anonymous namespace)::ScalarExprEmitter::Visit(clang::Expr*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGExprScalar.cpp:358:52
#18 0x000000000212ccc6 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGExprScalar.cpp:3839:0
#19 0x00000000020f436c llvm::PointerIntPairInfo<llvm::Value*, 2u, llvm::PointerLikeTypeTraits<llvm::Value*> >::updatePointer(long, llvm::Value*) /data/project/ScaffCC/ScaffCC/llvm/include/llvm/ADT/PointerIntPair.h:162:5
#20 0x00000000020f436c llvm::PointerIntPair<llvm::Value*, 2u, clang::CodeGen::RValue::Flavor, llvm::PointerLikeTypeTraits<llvm::Value*>, llvm::PointerIntPairInfo<llvm::Value*, 2u, llvm::PointerLikeTypeTraits<llvm::Value*> > >::setPointer(llvm::Value*) /data/project/ScaffCC/ScaffCC/llvm/include/llvm/ADT/PointerIntPair.h:61:0
#21 0x00000000020f436c clang::CodeGen::RValue::get(llvm::Value*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGValue.h:88:0
#22 0x00000000020f436c clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGExpr.cpp:178:0
#23 0x00000000020f431d clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGExpr.cpp:167:1
#24 0x0000000001f833ed llvm::IRBuilderBase::GetInsertBlock() const /data/project/ScaffCC/ScaffCC/llvm/include/llvm/IR/IRBuilder.h:122:47
#25 0x0000000001f833ed clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef<clang::Attr const*>) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGStmt.cpp:109:0
#26 0x0000000001f8b26f clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CGStmt.cpp:380:42
#27 0x0000000001fcb227 clang::CodeGen::CodeGenFunction::EmitFunctionBody(clang::CodeGen::FunctionArgList&, clang::Stmt const*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CodeGenFunction.cpp:1149:5
#28 0x0000000001fcb227 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CodeGenFunction.cpp:1314:0
#29 0x0000000001fdf6c1 clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl, llvm::GlobalValue*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CodeGenModule.cpp:3269:3
#30 0x0000000001fdadf5 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CodeGenModule.cpp:2045:12
#31 0x0000000001fe1843 clang::CodeGen::CodeGenModule::EmitTopLevelDecl(clang::Decl*) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CodeGenModule.cpp:4011:5
#32 0x000000000268e3bf (anonymous namespace)::CodeGeneratorImpl::HandleTopLevelDecl(clang::DeclGroupRef) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/ModuleBuilder.cpp:159:73
#33 0x000000000268ba6c clang::BackendConsumer::HandleTopLevelDecl(clang::DeclGroupRef) /data/project/ScaffCC/ScaffCC/llvm/tools/clang/lib/CodeGen/CodeGenAction.cpp:170:11
#34 0x0000000002b5a854 clang::ParseAST(clang::Sema&, bool, bool) (/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0+0x2b5a854)
#35 0x0000000002344698 clang::FrontendAction::Execute() (/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0+0x2344698)
#36 0x0000000002305d21 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0+0x2305d21)
#37 0x00000000023e2a18 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0+0x23e2a18)
#38 0x00000000008c3042 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0+0x8c3042)
#39 0x00000000008c136e main (/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0+0x8c136e)
#40 0x00007f8e08f86431 __libc_start_main (/lib64/libc.so.6+0x20431)
#41 0x00000000008be71a _start (/data/project/ScaffCC/ScaffCC/build/bin/clang-6.0+0x8be71a)
Stack dump:
0.      Program arguments: /data/project/ScaffCC/ScaffCC/build/bin/clang-6.0 -cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -disable-free -main-file-name square_root.n10_merged.scaffold -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -v -coverage-notes-file /data/project/ScaffCC/ScaffCC/scripts/square_root.n10.gcno -resource-dir /data/project/ScaffCC/ScaffCC/build/lib/clang/6.0.0 -I ./../test_cases/Square_Root/ -internal-isystem /usr/local/include -internal-isystem /data/project/ScaffCC/ScaffCC/build/lib/clang/6.0.0/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir /data/project/ScaffCC/ScaffCC/scripts -ferror-limit 19 -fmessage-length 103 -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -disable-O0-optnone -o square_root.n10.ll -x c square_root.n10_merged.scaffold 
1.      <eof> parser at end of file
2.      square_root.n10_merged.scaffold:161:5: LLVM IR generation of declaration 'main'
3.      square_root.n10_merged.scaffold:161:5: Generating code for declaration 'main'
clang-6.0: error: unable to execute command: Aborted (core dumped)
clang-6.0: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 6.0.0 (git@github.com:llvm-mirror/clang.git ad3f9b30638c5bb392c2e78c5bb09da1c58cf7f8) (git@github.com:llvm-mirror/llvm.git 5fd4adc03525a1d1a6a6445fb6d25b7ff2f000bd)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /data/project/ScaffCC/ScaffCC/scripts/./../build/bin
clang-6.0: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang-6.0: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-6.0: note: diagnostic msg: /tmp/square_root-727660.c
clang-6.0: note: diagnostic msg: /tmp/square_root-727660.sh
clang-6.0: note: diagnostic msg: 

********************
../scaffold/Scaffold.makefile:85: recipe for target 'square_root.n10.ll' failed
make: *** [square_root.n10.ll] Error 254
cmp: *.qasmf: No such file or directory
[./../test_cases/Square_Root] Generating Flattened QASM Failed
===================================

Oops segfault! it might owing to this issue I will git merge from upstream with release_60 branch and check whether or not fix such issue, if not, I will report bug to llvm.

singular-value commented 6 years ago

Hmm, this is what I get when I run make. Do you know what this means?

make[1]: Entering directory `/home/pranav/DeleteThis/Rotations/sqct'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/pranav/DeleteThis/Rotations/sqct'
-- Native target architecture is X86
-- Threads enabled.
-- Doxygen disabled.
-- Go bindings disabled.
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) 
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) 
-- OCaml bindings disabled.
-- Could NOT find Python module pygments
-- Could NOT find Python module yaml
-- LLVM host triple: x86_64-unknown-linux-gnu
-- LLVM default target triple: x86_64-unknown-linux-gnu
-- Building with -fPIC
-- Constructing LLVMBuild project information
-- Linker detection: GNU ld
CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Support/ConstantRange.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Support/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Support/CMakeLists.txt:32 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Support/DataStream.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Support/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Support/CMakeLists.txt:32 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Support/Disassembler.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Support/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Support/CMakeLists.txt:32 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Support/Dwarf.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Support/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Support/CMakeLists.txt:32 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Support/IncludeFile.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Support/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Support/CMakeLists.txt:32 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Support/IntrusiveRefCntPtr.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Support/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Support/CMakeLists.txt:32 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Support/IsInf.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Support/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Support/CMakeLists.txt:32 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Support/IsNAN.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Support/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Support/CMakeLists.txt:32 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Support/MemoryObject.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Support/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Support/CMakeLists.txt:32 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Support/PathV2.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Support/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Support/CMakeLists.txt:32 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Support/SearchForAddressOfSpecialSymbol.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Support/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Support/CMakeLists.txt:32 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Support/StreamableMemoryObject.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Support/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Support/CMakeLists.txt:32 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Support/TimeValue.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Support/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Support/CMakeLists.txt:32 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Support/system_error.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Support/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Support/CMakeLists.txt:32 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/TableGen/TableGenAction.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/TableGen/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/TableGen/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/utils/TableGen/EDEmitter.cpp

  Please update /home/pranav/DeleteThis/llvm/utils/TableGen/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:696 (llvm_process_sources)
  cmake/modules/TableGen.cmake:130 (add_llvm_executable)
  utils/TableGen/CMakeLists.txt:3 (add_tablegen)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/utils/TableGen/SetTheory.cpp

  Please update /home/pranav/DeleteThis/llvm/utils/TableGen/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:696 (llvm_process_sources)
  cmake/modules/TableGen.cmake:130 (add_llvm_executable)
  utils/TableGen/CMakeLists.txt:3 (add_tablegen)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/utils/TableGen/StringMatcher.cpp

  Please update /home/pranav/DeleteThis/llvm/utils/TableGen/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:696 (llvm_process_sources)
  cmake/modules/TableGen.cmake:130 (add_llvm_executable)
  utils/TableGen/CMakeLists.txt:3 (add_tablegen)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/utils/TableGen/TGValueTypes.cpp

  Please update /home/pranav/DeleteThis/llvm/utils/TableGen/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:696 (llvm_process_sources)
  cmake/modules/TableGen.cmake:130 (add_llvm_executable)
  utils/TableGen/CMakeLists.txt:3 (add_tablegen)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/CodeGen/CodePlacementOpt.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/CodeGen/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/CodeGen/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/CodeGen/JITCodeEmitter.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/CodeGen/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/CodeGen/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/CodeGen/MachineCodeEmitter.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/CodeGen/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/CodeGen/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/CodeGen/MachineFunctionAnalysis.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/CodeGen/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/CodeGen/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/CodeGen/MachineLoopRanges.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/CodeGen/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/CodeGen/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/CodeGen/OcamlGC.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/CodeGen/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/CodeGen/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/CodeGen/Passes.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/CodeGen/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/CodeGen/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/CodeGen/RenderMachineFunction.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/CodeGen/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/CodeGen/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/CodeGen/ShadowStackGC.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/CodeGen/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/CodeGen/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/CodeGen/ShrinkWrapping.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/CodeGen/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/CodeGen/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/CodeGen/Spiller.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/CodeGen/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/CodeGen/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/CodeGen/StrongPHIElimination.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/CodeGen/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/CodeGen/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/CodeGen/TargetInstrInfoImpl.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/CodeGen/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/CodeGen/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/CodeGen/SelectionDAG/TargetSelectionDAGInfo.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/CodeGen/SelectionDAG/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/CodeGen/SelectionDAG/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/CodeGen/AsmPrinter/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/CodeGen/AsmPrinter/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/CodeGen/AsmPrinter/Win64Exception.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/CodeGen/AsmPrinter/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/CodeGen/AsmPrinter/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Transforms/Utils/AddrModeMatcher.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/Transforms/Utils/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Transforms/Utils/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Transforms/Utils/CmpInstAnalysis.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/Transforms/Utils/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Transforms/Utils/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Transforms/Utils/LowerExpectIntrinsic.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/Transforms/Utils/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Transforms/Utils/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Transforms/Instrumentation/EdgeProfiling.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/Transforms/Instrumentation/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Transforms/Instrumentation/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Transforms/Instrumentation/FunctionBlackList.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/Transforms/Instrumentation/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Transforms/Instrumentation/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Transforms/Instrumentation/OptimalEdgeProfiling.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/Transforms/Instrumentation/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Transforms/Instrumentation/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Transforms/Instrumentation/PathProfiling.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/Transforms/Instrumentation/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Transforms/Instrumentation/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Transforms/Instrumentation/ProfilingUtils.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/Transforms/Instrumentation/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Transforms/Instrumentation/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Transforms/Scalar/BasicBlockPlacement.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/Transforms/Scalar/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Transforms/Scalar/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/Transforms/Scalar/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Transforms/Scalar/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Transforms/Scalar/GlobalMerge.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/Transforms/Scalar/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Transforms/Scalar/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Transforms/Scalar/ObjCARC.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/Transforms/Scalar/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Transforms/Scalar/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/Transforms/Scalar/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Transforms/Scalar/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/Transforms/Scalar/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Transforms/Scalar/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Transforms/IPO/InlineAlways.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/Transforms/IPO/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Transforms/IPO/CMakeLists.txt:3 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Transforms/Vectorize/BBVectorize.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/Transforms/Vectorize/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Transforms/Vectorize/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Linker/LinkArchives.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Linker/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Linker/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Linker/LinkItems.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Linker/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Linker/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Linker/Linker.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Linker/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Linker/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Analysis/AliasAnalysisCounter.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Analysis/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Analysis/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Analysis/AliasDebugger.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Analysis/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Analysis/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Analysis/DIBuilder.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Analysis/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Analysis/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Analysis/DbgInfoPrinter.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Analysis/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Analysis/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Analysis/DebugInfo.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Analysis/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Analysis/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Analysis/LibCallAliasAnalysis.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Analysis/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Analysis/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Analysis/LibCallSemantics.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Analysis/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Analysis/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Analysis/LoopDependenceAnalysis.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Analysis/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Analysis/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Analysis/NoAliasAnalysis.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Analysis/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Analysis/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Analysis/PathNumbering.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Analysis/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Analysis/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Analysis/PathProfileInfo.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Analysis/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Analysis/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Analysis/PathProfileVerifier.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Analysis/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Analysis/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Analysis/ProfileEstimatorPass.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Analysis/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Analysis/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Analysis/ProfileInfo.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Analysis/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Analysis/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Analysis/ProfileInfoLoader.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Analysis/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Analysis/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Analysis/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Analysis/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Analysis/ProfileVerifierPass.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Analysis/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Analysis/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Analysis/SparsePropagation.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Analysis/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Analysis/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file /home/pranav/DeleteThis/llvm/lib/MC/MCAtom.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/MC/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/MC/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/MC/MCCodeGenInfo.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/MC/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/MC/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/MC/MCDisassembler.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/MC/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/MC/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file /home/pranav/DeleteThis/llvm/lib/MC/MCELF.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/MC/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/MC/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file /home/pranav/DeleteThis/llvm/lib/MC/MCModule.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/MC/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/MC/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/MC/MCPureStreamer.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/MC/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/MC/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/MC/MCTargetAsmLexer.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/MC/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/MC/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/MC/WinCOFFStreamer.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/MC/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/MC/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/MC/MCDisassembler/EDDisassembler.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/MC/MCDisassembler/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/MC/MCDisassembler/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/MC/MCDisassembler/EDInst.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/MC/MCDisassembler/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/MC/MCDisassembler/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/MC/MCDisassembler/EDMain.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/MC/MCDisassembler/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/MC/MCDisassembler/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/MC/MCDisassembler/EDOperand.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/MC/MCDisassembler/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/MC/MCDisassembler/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/MC/MCDisassembler/EDToken.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/MC/MCDisassembler/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/MC/MCDisassembler/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Object/MachOObject.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Object/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Object/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/ExecutionEngine/MCJIT/MCJITMemoryManager.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/ExecutionEngine/MCJIT/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/ExecutionEngine/MCJIT/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/ExecutionEngine/RuntimeDyld/GDBRegistrar.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/ExecutionEngine/RuntimeDyld/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/ExecutionEngine/RuntimeDyld/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/Mangler.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Target/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Target/CMakeLists.txt:5 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/TargetData.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Target/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Target/CMakeLists.txt:5 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/TargetELFWriterInfo.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Target/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Target/CMakeLists.txt:5 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/TargetInstrInfo.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Target/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Target/CMakeLists.txt:5 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/TargetJITInfo.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Target/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Target/CMakeLists.txt:5 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/TargetLibraryInfo.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Target/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Target/CMakeLists.txt:5 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/TargetRegisterInfo.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Target/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Target/CMakeLists.txt:5 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/TargetSubtargetInfo.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Target/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Target/CMakeLists.txt:5 (add_llvm_library)

-- Targeting AArch64
-- Targeting AMDGPU
-- Targeting ARM
CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/ARM/ARMCodeEmitter.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Target/ARM/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  cmake/modules/AddLLVM.cmake:943 (add_llvm_library)
  lib/Target/ARM/CMakeLists.txt:19 (add_llvm_target)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/ARM/ARMELFWriterInfo.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Target/ARM/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  cmake/modules/AddLLVM.cmake:943 (add_llvm_library)
  lib/Target/ARM/CMakeLists.txt:19 (add_llvm_target)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/ARM/ARMJITInfo.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Target/ARM/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  cmake/modules/AddLLVM.cmake:943 (add_llvm_library)
  lib/Target/ARM/CMakeLists.txt:19 (add_llvm_target)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/ARM/Thumb1RegisterInfo.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Target/ARM/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  cmake/modules/AddLLVM.cmake:943 (add_llvm_library)
  lib/Target/ARM/CMakeLists.txt:19 (add_llvm_target)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/ARM/Thumb2RegisterInfo.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Target/ARM/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  cmake/modules/AddLLVM.cmake:943 (add_llvm_library)
  lib/Target/ARM/CMakeLists.txt:19 (add_llvm_target)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/ARM/AsmParser/ARMAsmLexer.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/Target/ARM/AsmParser/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Target/ARM/AsmParser/CMakeLists.txt:1 (add_llvm_library)

-- Targeting BPF
-- Targeting Hexagon
CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/Hexagon/HexagonCallingConvLower.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/Target/Hexagon/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  cmake/modules/AddLLVM.cmake:943 (add_llvm_library)
  lib/Target/Hexagon/CMakeLists.txt:14 (add_llvm_target)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/Hexagon/HexagonExpandPredSpillCode.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/Target/Hexagon/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  cmake/modules/AddLLVM.cmake:943 (add_llvm_library)
  lib/Target/Hexagon/CMakeLists.txt:14 (add_llvm_target)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/Hexagon/HexagonRemoveSZExtArgs.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/Target/Hexagon/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  cmake/modules/AddLLVM.cmake:943 (add_llvm_library)
  lib/Target/Hexagon/CMakeLists.txt:14 (add_llvm_target)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/Hexagon/HexagonSplitTFRCondSets.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/Target/Hexagon/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  cmake/modules/AddLLVM.cmake:943 (add_llvm_library)
  lib/Target/Hexagon/CMakeLists.txt:14 (add_llvm_target)

-- Targeting Lanai
-- Targeting Mips
CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/Mips/MipsCodeEmitter.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Target/Mips/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  cmake/modules/AddLLVM.cmake:943 (add_llvm_library)
  lib/Target/Mips/CMakeLists.txt:16 (add_llvm_target)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/Mips/MipsEmitGPRestore.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Target/Mips/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  cmake/modules/AddLLVM.cmake:943 (add_llvm_library)
  lib/Target/Mips/CMakeLists.txt:16 (add_llvm_target)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/Mips/MipsExpandPseudo.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Target/Mips/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  cmake/modules/AddLLVM.cmake:943 (add_llvm_library)
  lib/Target/Mips/CMakeLists.txt:16 (add_llvm_target)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/Mips/MipsJITInfo.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Target/Mips/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  cmake/modules/AddLLVM.cmake:943 (add_llvm_library)
  lib/Target/Mips/CMakeLists.txt:16 (add_llvm_target)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/Mips/MipsSelectionDAGInfo.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Target/Mips/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  cmake/modules/AddLLVM.cmake:943 (add_llvm_library)
  lib/Target/Mips/CMakeLists.txt:16 (add_llvm_target)

-- Targeting MSP430
CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/MSP430/MSP430SelectionDAGInfo.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Target/MSP430/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  cmake/modules/AddLLVM.cmake:943 (add_llvm_library)
  lib/Target/MSP430/CMakeLists.txt:11 (add_llvm_target)

-- Targeting NVPTX
-- Targeting PowerPC
CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/Target/PowerPC/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  cmake/modules/AddLLVM.cmake:943 (add_llvm_library)
  lib/Target/PowerPC/CMakeLists.txt:15 (add_llvm_target)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/PowerPC/PPCJITInfo.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/Target/PowerPC/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  cmake/modules/AddLLVM.cmake:943 (add_llvm_library)
  lib/Target/PowerPC/CMakeLists.txt:15 (add_llvm_target)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/Target/PowerPC/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  cmake/modules/AddLLVM.cmake:943 (add_llvm_library)
  lib/Target/PowerPC/CMakeLists.txt:15 (add_llvm_target)

-- Targeting Sparc
CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/Sparc/FPMover.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Target/Sparc/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  cmake/modules/AddLLVM.cmake:943 (add_llvm_library)
  lib/Target/Sparc/CMakeLists.txt:14 (add_llvm_target)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/Sparc/SparcSelectionDAGInfo.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Target/Sparc/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  cmake/modules/AddLLVM.cmake:943 (add_llvm_library)
  lib/Target/Sparc/CMakeLists.txt:14 (add_llvm_target)

-- Targeting SystemZ
-- Targeting X86
CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/X86/X86COFFMachineModuleInfo.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Target/X86/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  cmake/modules/AddLLVM.cmake:943 (add_llvm_library)
  lib/Target/X86/CMakeLists.txt:63 (add_llvm_target)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/X86/X86CodeEmitter.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Target/X86/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  cmake/modules/AddLLVM.cmake:943 (add_llvm_library)
  lib/Target/X86/CMakeLists.txt:63 (add_llvm_target)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/X86/X86ELFWriterInfo.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Target/X86/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  cmake/modules/AddLLVM.cmake:943 (add_llvm_library)
  lib/Target/X86/CMakeLists.txt:63 (add_llvm_target)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/X86/X86JITInfo.cpp

  Please update /home/pranav/DeleteThis/llvm/lib/Target/X86/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  cmake/modules/AddLLVM.cmake:943 (add_llvm_library)
  lib/Target/X86/CMakeLists.txt:63 (add_llvm_target)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/X86/AsmParser/X86AsmLexer.cpp

  Please update
  /home/pranav/DeleteThis/llvm/lib/Target/X86/AsmParser/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Target/X86/AsmParser/CMakeLists.txt:1 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c

  Please update
  /home/pranav/DeleteThis/llvm/lib/Target/X86/Disassembler/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:607 (llvm_add_library)
  lib/Target/X86/Disassembler/CMakeLists.txt:1 (add_llvm_library)

-- Targeting XCore
CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/lto/LTOCodeGenerator.cpp

  Please update /home/pranav/DeleteThis/llvm/tools/lto/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:605 (llvm_add_library)
  tools/lto/CMakeLists.txt:19 (add_llvm_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/lto/LTOModule.cpp

  Please update /home/pranav/DeleteThis/llvm/tools/lto/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:605 (llvm_add_library)
  tools/lto/CMakeLists.txt:19 (add_llvm_library)

-- Clang version: 6.0.0
CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/utils/TableGen/OptParserEmitter.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/utils/TableGen/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:696 (llvm_process_sources)
  cmake/modules/TableGen.cmake:130 (add_llvm_executable)
  tools/clang/utils/TableGen/CMakeLists.txt:3 (add_tablegen)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Basic/ConvertUTF.c

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Basic/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/lib/Basic/CMakeLists.txt:47 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/lib/AST/DumpXML.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/lib/AST/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/lib/AST/CMakeLists.txt:6 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/lib/AST/LambdaMangleContext.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/lib/AST/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/lib/AST/CMakeLists.txt:6 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/lib/AST/StmtDumper.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/lib/AST/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/lib/AST/CMakeLists.txt:6 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Sema/TargetAttributesSema.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Sema/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/lib/Sema/CMakeLists.txt:10 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/lib/CodeGen/CGRTTI.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/lib/CodeGen/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/lib/CodeGen/CMakeLists.txt:36 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Rewrite/FixItRewriter.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Rewrite/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/lib/Rewrite/CMakeLists.txt:5 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Rewrite/FrontendActions.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Rewrite/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/lib/Rewrite/CMakeLists.txt:5 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Rewrite/HTMLPrint.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Rewrite/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/lib/Rewrite/CMakeLists.txt:5 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Rewrite/RewriteMacros.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Rewrite/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/lib/Rewrite/CMakeLists.txt:5 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Rewrite/RewriteModernObjC.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Rewrite/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/lib/Rewrite/CMakeLists.txt:5 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Rewrite/RewriteObjC.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Rewrite/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/lib/Rewrite/CMakeLists.txt:5 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Rewrite/RewriteTest.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Rewrite/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/lib/Rewrite/CMakeLists.txt:5 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Driver/Arg.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Driver/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/lib/Driver/CMakeLists.txt:12 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Driver/ArgList.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Driver/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/lib/Driver/CMakeLists.txt:12 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Driver/CC1AsOptions.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Driver/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/lib/Driver/CMakeLists.txt:12 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Driver/CC1Options.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Driver/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/lib/Driver/CMakeLists.txt:12 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Driver/OptTable.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Driver/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/lib/Driver/CMakeLists.txt:12 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Driver/Option.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Driver/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/lib/Driver/CMakeLists.txt:12 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Driver/ToolChains.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Driver/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/lib/Driver/CMakeLists.txt:12 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Driver/Tools.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Driver/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/lib/Driver/CMakeLists.txt:12 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Driver/WindowsToolChain.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Driver/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/lib/Driver/CMakeLists.txt:12 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Frontend/Warnings.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/lib/Frontend/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/lib/Frontend/CMakeLists.txt:15 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/lib/StaticAnalyzer/Core/BasicConstraintManager.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/lib/StaticAnalyzer/Core/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/lib/StaticAnalyzer/Core/CMakeLists.txt:10 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/lib/StaticAnalyzer/Core/ObjCMessage.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/lib/StaticAnalyzer/Core/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/lib/StaticAnalyzer/Core/CMakeLists.txt:10 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/lib/StaticAnalyzer/Core/TextPathDiagnostics.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/lib/StaticAnalyzer/Core/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/lib/StaticAnalyzer/Core/CMakeLists.txt:10 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/lib/StaticAnalyzer/Checkers/AdjustedReturnValueChecker.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt:5 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/lib/StaticAnalyzer/Checkers/AttrNonNullChecker.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt:5 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/lib/StaticAnalyzer/Checkers/CommonBugCategories.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt:5 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/lib/StaticAnalyzer/Checkers/IdempotentOperationChecker.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt:5 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/lib/StaticAnalyzer/Checkers/IteratorsChecker.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt:5 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/lib/StaticAnalyzer/Checkers/OSAtomicChecker.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt:5 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/tools/libclang/IndexBody.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/tools/libclang/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/tools/libclang/CMakeLists.txt:90 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/tools/libclang/IndexDecl.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/tools/libclang/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/tools/libclang/CMakeLists.txt:90 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/tools/libclang/IndexTypeSourceInfo.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/tools/libclang/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/tools/libclang/CMakeLists.txt:90 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/tools/libclang/IndexingContext.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/tools/libclang/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:378 (llvm_process_sources)
  tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
  tools/clang/tools/libclang/CMakeLists.txt:90 (add_clang_library)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/clang/unittests/Lex/PreprocessingRecordTest.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/clang/unittests/Lex/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:696 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:1090 (add_llvm_executable)
  tools/clang/unittests/CMakeLists.txt:9 (add_unittest)
  tools/clang/unittests/Lex/CMakeLists.txt:5 (add_clang_unittest)

CMake Error at cmake/modules/AddLLVM.cmake:1322 (add_custom_target):
  The target name "check-clang-arcmt-with space" is reserved or not valid for
  certain CMake features, such as generator expressions, and may result in
  undefined behavior.
Call Stack (most recent call first):
  cmake/modules/AddLLVM.cmake:1385 (add_lit_target)
  tools/clang/test/CMakeLists.txt:125 (add_lit_testsuites)

CMake Error at cmake/modules/AddLLVM.cmake:1333 (add_dependencies):
  Cannot add target-level dependencies to non-existent target
  "check-clang-arcmt-with space".

  The add_dependencies works for top-level logical targets created by the
  add_executable, add_library, or add_custom_target commands.  If you want to
  add file-level dependencies see the DEPENDS option of the add_custom_target
  and add_custom_command commands.
Call Stack (most recent call first):
  cmake/modules/AddLLVM.cmake:1385 (add_lit_target)
  tools/clang/test/CMakeLists.txt:125 (add_lit_testsuites)

CMake Error at cmake/modules/AddLLVM.cmake:1337 (set_target_properties):
  set_target_properties Can not find target to add properties to:
  check-clang-arcmt-with space
Call Stack (most recent call first):
  cmake/modules/AddLLVM.cmake:1385 (add_lit_target)
  tools/clang/test/CMakeLists.txt:125 (add_lit_testsuites)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/tools/llvm-objdump/MCFunction.cpp

  Please update
  /home/pranav/DeleteThis/llvm/tools/llvm-objdump/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:696 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:860 (add_llvm_executable)
  tools/llvm-objdump/CMakeLists.txt:17 (add_llvm_tool)

CMake Error at cmake/modules/AddLLVM.cmake:724 (add_executable):
  add_executable cannot create target "llvm-ranlib" because another target
  with the same name already exists.  The existing target is a custom target
  created in source directory "/home/pranav/DeleteThis/llvm/tools/llvm-ar".
  See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
  cmake/modules/AddLLVM.cmake:860 (add_llvm_executable)
  tools/llvm-ranlib/CMakeLists.txt:4 (add_llvm_tool)

CMake Warning (dev) at cmake/modules/AddLLVM.cmake:15 (message):
  Exception handling requires RTTI.  Enabling RTTI for llvm-ranlib
Call Stack (most recent call first):
  cmake/modules/AddLLVM.cmake:739 (llvm_update_compile_flags)
  cmake/modules/AddLLVM.cmake:860 (add_llvm_executable)
  tools/llvm-ranlib/CMakeLists.txt:4 (add_llvm_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at cmake/modules/LLVM-Config.cmake:108 (target_link_libraries):
  Utility target "llvm-ranlib" must not be used as the target of a
  target_link_libraries call.
Call Stack (most recent call first):
  cmake/modules/LLVM-Config.cmake:93 (explicit_llvm_config)
  cmake/modules/AddLLVM.cmake:759 (llvm_config)
  cmake/modules/AddLLVM.cmake:860 (add_llvm_executable)
  tools/llvm-ranlib/CMakeLists.txt:4 (add_llvm_tool)

CMake Error at cmake/modules/AddLLVM.cmake:771 (target_link_libraries):
  Utility target "llvm-ranlib" must not be used as the target of a
  target_link_libraries call.
Call Stack (most recent call first):
  cmake/modules/AddLLVM.cmake:860 (add_llvm_executable)
  tools/llvm-ranlib/CMakeLists.txt:4 (add_llvm_tool)

CMake Error at cmake/modules/AddLLVM.cmake:870 (install):
  install TARGETS given target "llvm-ranlib" which does not exist in this
  directory.
Call Stack (most recent call first):
  tools/llvm-ranlib/CMakeLists.txt:4 (add_llvm_tool)

CMake Error at cmake/modules/AddLLVM.cmake:581 (add_custom_target):
  add_custom_target cannot create target "install-llvm-ranlib" because
  another target with the same name already exists.  The existing target is a
  custom target created in source directory
  "/home/pranav/DeleteThis/llvm/tools/llvm-ar".  See documentation for policy
  CMP0002 for more details.
Call Stack (most recent call first):
  cmake/modules/AddLLVM.cmake:876 (add_llvm_install_targets)
  tools/llvm-ranlib/CMakeLists.txt:4 (add_llvm_tool)

CMake Error at cmake/modules/AddLLVM.cmake:1322 (add_custom_target):
  add_custom_target cannot create target "check-llvm-bindings-ocaml" because
  another target with the same name already exists.  The existing target is a
  custom target created in source directory
  "/home/pranav/DeleteThis/llvm/test".  See documentation for policy CMP0002
  for more details.
Call Stack (most recent call first):
  cmake/modules/AddLLVM.cmake:1385 (add_lit_target)
  test/CMakeLists.txt:163 (add_lit_testsuites)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/unittests/ADT/SmallBitVectorTest.cpp

  Please update /home/pranav/DeleteThis/llvm/unittests/ADT/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:696 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:1090 (add_llvm_executable)
  unittests/CMakeLists.txt:5 (add_unittest)
  unittests/ADT/CMakeLists.txt:69 (add_llvm_unittest)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/unittests/ADT/ilistTest.cpp

  Please update /home/pranav/DeleteThis/llvm/unittests/ADT/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:696 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:1090 (add_llvm_executable)
  unittests/CMakeLists.txt:5 (add_unittest)
  unittests/ADT/CMakeLists.txt:69 (add_llvm_unittest)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/unittests/Support/ConstantRangeTest.cpp

  Please update /home/pranav/DeleteThis/llvm/unittests/Support/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:696 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:1090 (add_llvm_executable)
  unittests/CMakeLists.txt:5 (add_unittest)
  unittests/Support/CMakeLists.txt:5 (add_llvm_unittest)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/unittests/Support/IRBuilderTest.cpp

  Please update /home/pranav/DeleteThis/llvm/unittests/Support/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:696 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:1090 (add_llvm_executable)
  unittests/CMakeLists.txt:5 (add_unittest)
  unittests/Support/CMakeLists.txt:5 (add_llvm_unittest)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/unittests/Support/LeakDetectorTest.cpp

  Please update /home/pranav/DeleteThis/llvm/unittests/Support/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:696 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:1090 (add_llvm_executable)
  unittests/CMakeLists.txt:5 (add_unittest)
  unittests/Support/CMakeLists.txt:5 (add_llvm_unittest)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/unittests/Support/MDBuilderTest.cpp

  Please update /home/pranav/DeleteThis/llvm/unittests/Support/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:696 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:1090 (add_llvm_executable)
  unittests/CMakeLists.txt:5 (add_unittest)
  unittests/Support/CMakeLists.txt:5 (add_llvm_unittest)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/unittests/Support/TimeValue.cpp

  Please update /home/pranav/DeleteThis/llvm/unittests/Support/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:696 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:1090 (add_llvm_executable)
  unittests/CMakeLists.txt:5 (add_unittest)
  unittests/Support/CMakeLists.txt:5 (add_llvm_unittest)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/unittests/Support/TypeBuilderTest.cpp

  Please update /home/pranav/DeleteThis/llvm/unittests/Support/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:696 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:1090 (add_llvm_executable)
  unittests/CMakeLists.txt:5 (add_unittest)
  unittests/Support/CMakeLists.txt:5 (add_llvm_unittest)

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/unittests/Support/ValueHandleTest.cpp

  Please update /home/pranav/DeleteThis/llvm/unittests/Support/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:696 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:1090 (add_llvm_executable)
  unittests/CMakeLists.txt:5 (add_unittest)
  unittests/Support/CMakeLists.txt:5 (add_llvm_unittest)

CMake Error at cmake/modules/CMakeLists.txt:7 (export):
  export given custom target "llvm-ranlib" which may not be exported.

-- Configuring incomplete, errors occurred!
See also "/home/pranav/DeleteThis/build/CMakeFiles/CMakeOutput.log".
See also "/home/pranav/DeleteThis/build/CMakeFiles/CMakeError.log".
make: *** [Clang] Error 1
xiangzhai commented 6 years ago

I only test it under Linux, and @eddieschoute tested https://github.com/ScaffCC under MacOS, I can't reproduce your issue, but I can still reproduce the segfault issue even merged the latest release_60 branch... I don't want to workaround https://github.com/ScaffCC/scaff-llvm/issues/1 just like comment the CheckFailed https://github.com/epiqc/ScaffCC/blob/master/llvm/lib/VMCore/Verifier.cpp#L2018 I want to find the root cause!

singular-value commented 6 years ago

I see, thanks for the update. In the meantime, I'll look into my issue with make.

singular-value commented 6 years ago

@xiangzhai have you had any luck finding the root cause?

xiangzhai commented 6 years ago

@singular-value nope :( I even merged LLVM 7.0 upstream, it is still reproducible, not easy to fix, but workaround :)

singular-value commented 6 years ago

I tried compiling your pull request on Ubuntu 16.04 (since it hasn't been working on 14.04, because of the issue I pasted above).

Now it is running into a clang++ compilation issue for Rotations/sqct/netgenerator.cpp: image

So this file compiles with GCC, but not with clang (https://stackoverflow.com/a/41405172).

Did you encounter this?

xiangzhai commented 6 years ago

@singular-value it is not reproducible for me:

clang++ -fPIC -c -std=c++11 -I/usr/include/boost -L/usr/lib/boost_1_48_0 hprhelpers.cpp -o hprhelpers.o
clang-3.9: warning: argument unused during compilation: '-L/usr/lib/boost_1_48_0'
clang++ -fPIC -c -std=c++11 -I/usr/include/boost -L/usr/lib/boost_1_48_0 resring.cpp -o resring.o
clang-3.9: warning: argument unused during compilation: '-L/usr/lib/boost_1_48_0'
resring.cpp:108:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
resring.cpp:165:16: note: in instantiation of member function 'resring<8>::operator/=' requested here
template class resring<8>;
               ^
resring.cpp:114:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
resring.cpp:165:16: note: in instantiation of member function 'resring<8>::operator<<=' requested here
template class resring<8>;
               ^
resring.cpp:126:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
resring.cpp:165:16: note: in instantiation of member function 'resring<8>::operator>>=' requested here
template class resring<8>;
               ^
3 warnings generated.
clang++ -fPIC -c -std=c++11 -I/usr/include/boost -L/usr/lib/boost_1_48_0 rint.cpp -o rint.o
clang-3.9: warning: argument unused during compilation: '-L/usr/lib/boost_1_48_0'
rint.cpp:587:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
rint.cpp:728:16: note: in instantiation of member function 'ring_int<int>::isGde2' requested here
template class ring_int<int>;
               ^
rint.cpp:666:22: warning: absolute value function 'abs' given an argument of type 'long' but has
      parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
        int_type d = abs( y.v[i] - v[i] );
                     ^
rint.cpp:729:16: note: in instantiation of member function 'ring_int<long>::max_dist' requested here
template class ring_int<long int>;
               ^
rint.cpp:666:22: note: use function 'std::abs' instead
        int_type d = abs( y.v[i] - v[i] );
                     ^~~
                     std::abs                                                                          
rint.cpp:587:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
rint.cpp:729:16: note: in instantiation of member function 'ring_int<long>::isGde2' requested here
template class ring_int<long int>;
               ^
rint.cpp:587:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
rint.cpp:730:16: note: in instantiation of member function
      'ring_int<__gmp_expr<mpz_t, mpz_t> >::isGde2' requested here
template class ring_int<mpz_class>;
               ^
rint.cpp:587:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
rint.cpp:731:16: note: in instantiation of member function 'ring_int<resring<8> >::isGde2' requested
      here
template class ring_int<rring8>;
               ^
5 warnings generated.
clang++ -fPIC -c -std=c++11 -I/usr/include/boost -L/usr/lib/boost_1_48_0 matrix2x2.cpp -o matrix2x2.o
clang-3.9: warning: argument unused during compilation: '-L/usr/lib/boost_1_48_0'
matrix2x2.cpp:244:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
matrix2x2.cpp:464:16: note: in instantiation of member function 'matrix2x2<int>::operator=' requested
      here
template class matrix2x2<int>;
               ^
matrix2x2.cpp:244:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
matrix2x2.cpp:465:16: note: in instantiation of member function 'matrix2x2<long>::operator=' requested
      here
template class matrix2x2<long int>;
               ^
matrix2x2.cpp:244:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
matrix2x2.cpp:466:16: note: in instantiation of member function 'matrix2x2<__gmp_expr<mpz_t, mpz_t>
      >::operator=' requested here
template class matrix2x2<mpz_class>;
               ^
matrix2x2.cpp:244:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
matrix2x2.cpp:467:16: note: in instantiation of member function 'matrix2x2<resring<8> >::operator='
      requested here
template class matrix2x2< resring<8> >;
               ^
4 warnings generated.
clang++ -fPIC -c -std=c++11 -I/usr/include/boost -L/usr/lib/boost_1_48_0 vector2.cpp -o vector2.o
clang-3.9: warning: argument unused during compilation: '-L/usr/lib/boost_1_48_0'
clang++ -fPIC -c -std=c++11 -I/usr/include/boost -L/usr/lib/boost_1_48_0 vector3hpr.cpp -o vector3hpr.o
clang-3.9: warning: argument unused during compilation: '-L/usr/lib/boost_1_48_0'
clang++ -fPIC -c -std=c++11 -I/usr/include/boost -L/usr/lib/boost_1_48_0 output.cpp -o output.o
clang-3.9: warning: argument unused during compilation: '-L/usr/lib/boost_1_48_0'
clang++ -fPIC -c -std=c++11 -I/usr/include/boost -L/usr/lib/boost_1_48_0 numbersgen.cpp -o numbersgen.o
clang-3.9: warning: argument unused during compilation: '-L/usr/lib/boost_1_48_0'
clang++ -fPIC -c -std=c++11 -I/usr/include/boost -L/usr/lib/boost_1_48_0 gatelibrary.cpp -o gatelibrary.o
clang-3.9: warning: argument unused during compilation: '-L/usr/lib/boost_1_48_0'
clang++ -fPIC -c -std=c++11 -I/usr/include/boost -L/usr/lib/boost_1_48_0 optsequencegenerator.cpp -o optsequencegenerator.o
clang-3.9: warning: argument unused during compilation: '-L/usr/lib/boost_1_48_0'
clang++ -fPIC -c -std=c++11 -I/usr/include/boost -L/usr/lib/boost_1_48_0 seqlookupcliff.cpp -o seqlookupcliff.o
clang-3.9: warning: argument unused during compilation: '-L/usr/lib/boost_1_48_0'
clang++ -fPIC -c -std=c++11 -I/usr/include/boost -L/usr/lib/boost_1_48_0 exactdecomposer.cpp -o exactdecomposer.o
clang-3.9: warning: argument unused during compilation: '-L/usr/lib/boost_1_48_0'
clang++ -fPIC -c -std=c++11 -I/usr/include/boost -L/usr/lib/boost_1_48_0 epsilonnet.cpp -o epsilonnet.o
clang-3.9: warning: argument unused during compilation: '-L/usr/lib/boost_1_48_0'
clang++ -fPIC -c -std=c++11 -I/usr/include/boost -L/usr/lib/boost_1_48_0 netgenerator.cpp -o netgenerator.o
clang-3.9: warning: argument unused during compilation: '-L/usr/lib/boost_1_48_0'
clang++ -fPIC -c -std=c++11 -I/usr/include/boost -L/usr/lib/boost_1_48_0 unitaryapproximator.cpp -o unitaryapproximator.o
clang-3.9: warning: argument unused during compilation: '-L/usr/lib/boost_1_48_0'
clang++ -fPIC -c -std=c++11 -I/usr/include/boost -L/usr/lib/boost_1_48_0 gcommdecomposer.cpp -o gcommdecomposer.o
clang-3.9: warning: argument unused during compilation: '-L/usr/lib/boost_1_48_0'
clang++ -fPIC -c -std=c++11 -I/usr/include/boost -L/usr/lib/boost_1_48_0 sk.cpp -o sk.o
clang-3.9: warning: argument unused during compilation: '-L/usr/lib/boost_1_48_0'
clang++ -fPIC -c -std=c++11 -I/usr/include/boost -L/usr/lib/boost_1_48_0 skdecomposer.cpp -o skdecomposer.o
clang-3.9: warning: argument unused during compilation: '-L/usr/lib/boost_1_48_0'
clang++ -fPIC -c -std=c++11 -I/usr/include/boost -L/usr/lib/boost_1_48_0 numbers-stat.cpp -o numbers-stat.o
clang-3.9: warning: argument unused during compilation: '-L/usr/lib/boost_1_48_0'
clang++ -fPIC -c -std=c++11 -I/usr/include/boost -L/usr/lib/boost_1_48_0 theoremverification.cpp -o theoremverification.o
clang-3.9: warning: argument unused during compilation: '-L/usr/lib/boost_1_48_0'
clang++ -fPIC -c -std=c++11 -I/usr/include/boost -L/usr/lib/boost_1_48_0 toptimalitytest.cpp -o toptimalitytest.o
clang-3.9: warning: argument unused during compilation: '-L/usr/lib/boost_1_48_0'
clang++ -fPIC -c -std=c++11 -I/usr/include/boost -L/usr/lib/boost_1_48_0 hoptimalitytest.cpp -o hoptimalitytest.o
clang-3.9: warning: argument unused during compilation: '-L/usr/lib/boost_1_48_0'
clang++ -fPIC -c -std=c++11 -I/usr/include/boost -L/usr/lib/boost_1_48_0 rotZ.cpp -o rotZ.o
clang-3.9: warning: argument unused during compilation: '-L/usr/lib/boost_1_48_0'

What is your clang's version? perhaps it is better to reimplement the ugly sqct and choose BSD or Apache license :)

singular-value commented 6 years ago

I see, yeah clang version number was the issue. I was using 3.8.

I upgraded to 3.9 and the file now compiles (also tested with 5.0 and 6.0 and file compiles correctly).

So I guess we should change the README again to specify that we need 3.9 or higher (the recent commit specified the minimum clang version as 3.8). I can take care of that.


However, although the netgenerator.cpp file now compiles, I now run into the same build issues that I pasted above. Many errors like this:

CMake Error at cmake/modules/LLVMProcessSources.cmake:95 (message):
  Found unknown source file
  /home/pranav/DeleteThis/llvm/unittests/Support/MDBuilderTest.cpp

  Please update /home/pranav/DeleteThis/llvm/unittests/Support/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:696 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:1090 (add_llvm_executable)
  unittests/CMakeLists.txt:5 (add_unittest)
  unittests/Support/CMakeLists.txt:5 (add_llvm_unittest)

I'm still not sure what this means.

singular-value commented 6 years ago

Hi Leslie,

Just a couple of updates:

1) Note that we released a new version of ScaffCC that has improvements to braidflash, the ability to output OpenQASM (https://github.com/QISKit/openqasm), and some bug fixes.

2) I investigated further why your pull request wasn't compiling on my machine (I tried on both 14.04 and 16.04). It does indeed appear that some CMakeLists.txt were out of sync. I tried adding the missing entries to these CMakeLists.txt files, here is the commit for reference: https://github.com/singular-value/ScaffCC/commit/f27a7bf8b92b3d876684b834cdc3fc2dc165bb3e. This solved most of the compilation issues. As for the remaining issues, see the cmake output below. I wasn't able to figure out these issues:

ScaffCC/llvm/tools/clang/build$ cmake ../llvm/ -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++

-- The C compiler identification is Clang 3.9.0
-- The CXX compiler identification is Clang 3.9.0
-- The ASM compiler identification is Clang
-- Found assembler: /usr/local/bin/clang
-- Check for working C compiler: /usr/local/bin/clang
-- Check for working C compiler: /usr/local/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/local/bin/clang++
-- Check for working CXX compiler: /usr/local/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test LLVM_NO_OLD_LIBSTDCXX
-- Performing Test LLVM_NO_OLD_LIBSTDCXX - Success
-- Looking for dirent.h
-- Looking for dirent.h - found
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for errno.h
-- Looking for errno.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for link.h
-- Looking for link.h - found
-- Looking for malloc.h
-- Looking for malloc.h - found
-- Looking for malloc/malloc.h
-- Looking for malloc/malloc.h - not found
-- Looking for ndir.h
-- Looking for ndir.h - not found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for signal.h
-- Looking for signal.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for sys/dir.h
-- Looking for sys/dir.h - found
-- Looking for sys/ioctl.h
-- Looking for sys/ioctl.h - found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for sys/ndir.h
-- Looking for sys/ndir.h - not found
-- Looking for sys/param.h
-- Looking for sys/param.h - found
-- Looking for sys/resource.h
-- Looking for sys/resource.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for sys/uio.h
-- Looking for sys/uio.h - found
-- Looking for termios.h
-- Looking for termios.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for valgrind/valgrind.h
-- Looking for valgrind/valgrind.h - not found
-- Looking for zlib.h
-- Looking for zlib.h - found
-- Looking for fenv.h
-- Looking for fenv.h - found
-- Looking for FE_ALL_EXCEPT
-- Looking for FE_ALL_EXCEPT - found
-- Looking for FE_INEXACT
-- Looking for FE_INEXACT - found
-- Looking for mach/mach.h
-- Looking for mach/mach.h - not found
-- Looking for histedit.h
-- Looking for histedit.h - not found
-- Looking for CrashReporterClient.h
-- Looking for CrashReporterClient.h - not found
-- Looking for linux/magic.h
-- Looking for linux/magic.h - found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Looking for pthread_getspecific in pthread
-- Looking for pthread_getspecific in pthread - found
-- Looking for pthread_rwlock_init in pthread
-- Looking for pthread_rwlock_init in pthread - found
-- Looking for pthread_mutex_lock in pthread
-- Looking for pthread_mutex_lock in pthread - found
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Looking for compress2 in z
-- Looking for compress2 in z - found
-- Looking for setupterm in tinfo
-- Looking for setupterm in tinfo - found
-- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.9.1") 
-- Looking for xar_open in xar
-- Looking for xar_open in xar - not found
-- Looking for arc4random
-- Looking for arc4random - not found
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /usr/include  
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed
-- Looking for _Unwind_Backtrace
-- Looking for _Unwind_Backtrace - found
-- Looking for getpagesize
-- Looking for getpagesize - found
-- Looking for sysconf
-- Looking for sysconf - found
-- Looking for getrusage
-- Looking for getrusage - found
-- Looking for setrlimit
-- Looking for setrlimit - found
-- Looking for isatty
-- Looking for isatty - found
-- Looking for futimens
-- Looking for futimens - found
-- Looking for futimes
-- Looking for futimes - found
-- Looking for posix_fallocate
-- Looking for posix_fallocate - found
-- Looking for sigaltstack
-- Looking for sigaltstack - found
-- Looking for writev
-- Looking for writev - found
-- Looking for lseek64
-- Looking for lseek64 - found
-- Looking for mallctl
-- Looking for mallctl - not found
-- Looking for mallinfo
-- Looking for mallinfo - found
-- Looking for malloc_zone_statistics
-- Looking for malloc_zone_statistics - not found
-- Looking for mkdtemp
-- Looking for mkdtemp - found
-- Looking for mkstemp
-- Looking for mkstemp - found
-- Looking for mktemp
-- Looking for mktemp - found
-- Looking for getcwd
-- Looking for getcwd - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for getrlimit
-- Looking for getrlimit - found
-- Looking for posix_spawn
-- Looking for posix_spawn - found
-- Looking for pread
-- Looking for pread - found
-- Looking for realpath
-- Looking for realpath - found
-- Looking for sbrk
-- Looking for sbrk - found
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for strerror
-- Looking for strerror - found
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Looking for strerror_s
-- Looking for strerror_s - not found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for dlopen
-- Looking for dlopen - found
-- Looking for dladdr
-- Looking for dladdr - not found
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Looking for sched_getaffinity
-- Looking for sched_getaffinity - found
-- Looking for CPU_COUNT
-- Looking for CPU_COUNT - found
-- Looking for pthread_getname_np in pthread
-- Looking for pthread_getname_np in pthread - found
-- Looking for pthread_setname_np in pthread
-- Looking for pthread_setname_np in pthread - found
-- Performing Test HAVE_INT64_T
-- Performing Test HAVE_INT64_T - Success
-- Performing Test HAVE_UINT64_T
-- Performing Test HAVE_UINT64_T - Success
-- Performing Test HAVE_U_INT64_T
-- Performing Test HAVE_U_INT64_T - Success
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success
-- Performing Test LLVM_HAS_ATOMICS
-- Performing Test LLVM_HAS_ATOMICS - Success
-- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG
-- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG - Success
-- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG
-- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG - Success
-- Native target architecture is X86
-- Threads enabled.
-- Doxygen disabled.
-- Go bindings disabled.
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) 
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) 
-- OCaml bindings disabled.
-- Could NOT find Python module pygments
-- Could NOT find Python module yaml
-- LLVM host triple: x86_64-unknown-linux-gnu
-- LLVM default target triple: x86_64-unknown-linux-gnu
-- Performing Test C_SUPPORTS_FPIC
-- Performing Test C_SUPPORTS_FPIC - Success
-- Performing Test CXX_SUPPORTS_FPIC
-- Performing Test CXX_SUPPORTS_FPIC - Success
-- Building with -fPIC
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success
-- Performing Test C_SUPPORTS_WERROR_DATE_TIME
-- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success
-- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME
-- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success
-- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
-- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed
-- Performing Test CXX_SUPPORTS_CXX11
-- Performing Test CXX_SUPPORTS_CXX11 - Success
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success
-- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR
-- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR - Success
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Success
-- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG
-- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG - Success
-- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG
-- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG - Success
-- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS
-- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS - Success
-- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS
-- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS - Success
-- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS
-- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS - Success
-- Performing Test C_SUPPORTS_FDATA_SECTIONS
-- Performing Test C_SUPPORTS_FDATA_SECTIONS - Success
-- Performing Test CXX_SUPPORTS_FDATA_SECTIONS
-- Performing Test CXX_SUPPORTS_FDATA_SECTIONS - Success
-- Found PythonInterp: /usr/bin/python2.7 (found version "2.7.6") 
-- Constructing LLVMBuild project information
-- Linker detection: GNU ld
-- Targeting AArch64
-- Targeting AMDGPU
-- Targeting ARM
-- Targeting BPF
-- Targeting Hexagon
-- Targeting Lanai
-- Targeting Mips
-- Targeting MSP430
-- Targeting NVPTX
-- Targeting PowerPC
-- Targeting Sparc
-- Targeting SystemZ
-- Targeting X86
-- Targeting XCore
-- Looking for sys/resource.h
-- Looking for sys/resource.h - found
-- Clang version: 6.0.0
-- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG
-- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG - Success
CMake Error at cmake/modules/AddLLVM.cmake:1322 (add_custom_target):
  The target name "check-clang-arcmt-with space" is reserved or not valid for
  certain CMake features, such as generator expressions, and may result in
  undefined behavior.
Call Stack (most recent call first):
  cmake/modules/AddLLVM.cmake:1385 (add_lit_target)
  tools/clang/test/CMakeLists.txt:125 (add_lit_testsuites)

CMake Error at cmake/modules/AddLLVM.cmake:1333 (add_dependencies):
  Cannot add target-level dependencies to non-existent target
  "check-clang-arcmt-with space".

  The add_dependencies works for top-level logical targets created by the
  add_executable, add_library, or add_custom_target commands.  If you want to
  add file-level dependencies see the DEPENDS option of the add_custom_target
  and add_custom_command commands.
Call Stack (most recent call first):
  cmake/modules/AddLLVM.cmake:1385 (add_lit_target)
  tools/clang/test/CMakeLists.txt:125 (add_lit_testsuites)

CMake Error at cmake/modules/AddLLVM.cmake:1337 (set_target_properties):
  set_target_properties Can not find target to add properties to:
  check-clang-arcmt-with space
Call Stack (most recent call first):
  cmake/modules/AddLLVM.cmake:1385 (add_lit_target)
  tools/clang/test/CMakeLists.txt:125 (add_lit_testsuites)

CMake Error at cmake/modules/AddLLVM.cmake:724 (add_executable):
  add_executable cannot create target "llvm-ranlib" because another target
  with the same name already exists.  The existing target is a custom target
  created in source directory
  "/home/pranav/ScaffCCBaseCopy2/llvm/tools/llvm-ar".  See documentation for
  policy CMP0002 for more details.
Call Stack (most recent call first):
  cmake/modules/AddLLVM.cmake:860 (add_llvm_executable)
  tools/llvm-ranlib/CMakeLists.txt:4 (add_llvm_tool)

CMake Warning (dev) at cmake/modules/AddLLVM.cmake:15 (message):
  Exception handling requires RTTI.  Enabling RTTI for llvm-ranlib
Call Stack (most recent call first):
  cmake/modules/AddLLVM.cmake:739 (llvm_update_compile_flags)
  cmake/modules/AddLLVM.cmake:860 (add_llvm_executable)
  tools/llvm-ranlib/CMakeLists.txt:4 (add_llvm_tool)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at cmake/modules/LLVM-Config.cmake:108 (target_link_libraries):
  Utility target "llvm-ranlib" must not be used as the target of a
  target_link_libraries call.
Call Stack (most recent call first):
  cmake/modules/LLVM-Config.cmake:93 (explicit_llvm_config)
  cmake/modules/AddLLVM.cmake:759 (llvm_config)
  cmake/modules/AddLLVM.cmake:860 (add_llvm_executable)
  tools/llvm-ranlib/CMakeLists.txt:4 (add_llvm_tool)

CMake Error at cmake/modules/AddLLVM.cmake:771 (target_link_libraries):
  Utility target "llvm-ranlib" must not be used as the target of a
  target_link_libraries call.
Call Stack (most recent call first):
  cmake/modules/AddLLVM.cmake:860 (add_llvm_executable)
  tools/llvm-ranlib/CMakeLists.txt:4 (add_llvm_tool)

CMake Error at cmake/modules/AddLLVM.cmake:870 (install):
  install TARGETS given target "llvm-ranlib" which does not exist in this
  directory.
Call Stack (most recent call first):
  tools/llvm-ranlib/CMakeLists.txt:4 (add_llvm_tool)

CMake Error at cmake/modules/AddLLVM.cmake:581 (add_custom_target):
  add_custom_target cannot create target "install-llvm-ranlib" because
  another target with the same name already exists.  The existing target is a
  custom target created in source directory
  "/home/pranav/ScaffCCBaseCopy2/llvm/tools/llvm-ar".  See documentation for
  policy CMP0002 for more details.
Call Stack (most recent call first):
  cmake/modules/AddLLVM.cmake:876 (add_llvm_install_targets)
  tools/llvm-ranlib/CMakeLists.txt:4 (add_llvm_tool)

CMake Error at cmake/modules/AddLLVM.cmake:1322 (add_custom_target):
  add_custom_target cannot create target "check-llvm-bindings-ocaml" because
  another target with the same name already exists.  The existing target is a
  custom target created in source directory
  "/home/pranav/ScaffCCBaseCopy2/llvm/test".  See documentation for policy
  CMP0002 for more details.
Call Stack (most recent call first):
  cmake/modules/AddLLVM.cmake:1385 (add_lit_target)
  test/CMakeLists.txt:163 (add_lit_testsuites)

CMake Error at cmake/modules/CMakeLists.txt:7 (export):
  export given custom target "llvm-ranlib" which may not be exported.

-- Configuring incomplete, errors occurred!
See also "/home/pranav/ScaffCCBaseCopy2/llvm/tools/clang/build/CMakeFiles/CMakeOutput.log".
See also "/home/pranav/ScaffCCBaseCopy2/llvm/tools/clang/build/CMakeFiles/CMakeError.log".

3) In order for us to accept your pull request, we'd need to figure out a) the compilation issues above and b) the LLVM issue you encountered when running the regression tests. Let us know if you figure these out. The team here in Chicago is not too familiar with LLVM, so we're going to work on other things in the meantime. Thanks!

-Pranav

xiangzhai commented 6 years ago

Hi @singular-value

@eddieschoute might be able to help you compiling https://github.com/ScaffCC on MacOS, and I only test it on Fedora 25, the same story is DragonEgg https://github.com/xiangzhai/dragonegg/wiki/Dependence Segfault during regression tests is not easy to fix https://github.com/ScaffCC/scaff-clang/issues/2

Regards, Leslie Zhai GCC developer https://github.com/loongson-community/gcc LLVM developer https://reviews.llvm.org/p/xiangzhai/

marsscout22 commented 5 years ago

Hi Leslie, I have an issue regarding building Scaffold, I am using centos7, LLVM/clang version 6.0.1 and I got many warnings and 2 errors: /root/scaffcc/ScaffCC/llvm/tools/clang/lib/CodeGen/CGDebugInfo.cpp:1710:16: error: no matching member function for call to 'push_back' ReplaceMap.push_back(std::make_pair(Ty.getAsOpaquePtr(), TC)); and /root/scaffcc/ScaffCC/llvm/tools/clang/lib/CodeGen/CGDebugInfo.cpp:1821:16: error: no matching member function for call to 'push_back' ReplaceMap.push_back(std::make_pair(Ty.getAsOpaquePtr(), T));

I am new to clang and scaffold so any advice? Best regards, Mariam

xiangzhai commented 5 years ago

@marsscout22 Please try this https://github.com/ScaffCC by following https://github.com/ScaffCC/ScaffCC#installation

Regards, Leslie Zhai