Conversation
|
The path of the 'root' dir inside the archive is |
|
Ah, I ran Will reupload tomorrow morning. |
|
Hmm it does not find |
|
Most likely because of this missing 6.0 (and other future versions). Stumbled upon this yesterday. |
|
Hmm, still does not work. |
|
You've used |
| #else | ||
| cl::init(llvm::CodeModel::Small), | ||
| clEnumValues( | ||
| #endif |
There was a problem hiding this comment.
We shouldn't enforce CodeModel::Small.
The better solution is what LLVM does:
+cl::opt<llvm::CodeModel::Model> CMModel(
+ "code-model", cl::desc("Choose code model"),
+ cl::values(clEnumValN(CodeModel::Small, "small", "Small code model"),
+ clEnumValN(CodeModel::Kernel, "kernel", "Kernel code model"),
+ clEnumValN(CodeModel::Medium, "medium", "Medium code model"),
+ clEnumValN(CodeModel::Large, "large", "Large code model")));
+
+static inline Optional<CodeModel::Model> getCodeModel() {
+ if (CMModel.getNumOccurrences()) {
+ CodeModel::Model M = CMModel;
+ return M;
+ }
+ return None;
+}
mCodeModel should be made private and the getCodeModel function should be added.
Same as getRelocModel (misplaced in main.cpp)
There was a problem hiding this comment.
Will do. Ill just make sure this works.
|
Hmm, it timed out downloading LLVM. Closing/reopening. |
|
Dammit, I forgot to copy across |
|
A few sanitiser fuzz tests fail. Some due to missing line info: Others fail to link The other failure is |
|
Merging this so that testing and development can continue |
|
@thewilsonator The link failure is likely due to versions not being up to date (LLVM vs. libFuzzer.a). Did you svn update projects/compiler-rt too? In any case, just remove libFuzzer.a from the package for now. It's already more than enough pain to be testing LLVM trunk on Travis because it is failing so often. |
|
OK. |
|
(libFuzzer was moved to compiler-rt, so for LLVM >= 6 we need to look for it in the same place as the sanitizer libs. Perhaps the version problem happened because you had an old libFuzzer lying around in the old location from a build before the move happened) |
|
A new libfuzzer test also fails for LLVM 5.0 on Circle: |
|
That's a sporadic error, let me know if it happens again, I will simplify the test. |
No description provided.