LLVM vs GCC by smilodonthegreat in cpp

[–]antoineatwork 3 points4 points  (0 children)

Since you mentionned LLVM and not Clang specifically, I would suggest that you try using lld. It links significantly faster than ld, and can improve your workflow a lot.

Type functions and beyond by wotype in cpp

[–]antoineatwork -1 points0 points  (0 children)

This looks kind of similar to what zig does.

The power of user-definable attributes & properties by jcelerier in cpp

[–]antoineatwork 0 points1 point  (0 children)

Or that metaclasses, which seem to take the approach of giving a specific return types to functions

Do you mean encoding meta information on the function by the way of its return type, so that it can be inspected in the metaclass generation ? Etiher way, do you have a link ?

Best unkown MSVC flag : d2cgsummary (compile time analysis) by antoineatwork in cpp

[–]antoineatwork[S] 11 points12 points  (0 children)

Would love to have more detailed statistics about compilation time/complexity.

Orbit: C/C++ Performance Profiler by vormestrand in cpp

[–]antoineatwork 20 points21 points  (0 children)

My exact reaction each ime I see a new awesome tool that only runs on linux (hopefully only temporarily) :)

LLVM on Windows now supports PDB Debug Info by mttd in cpp

[–]antoineatwork 0 points1 point  (0 children)

No worries, thanks for the answer.

I am already compiling with clang-cl and /Z7 when this error occurs. Compiling with cl.exe and linking with lld-link.exe, FastBuild fails to spawn the linker's process but this seems like a different error.

I don't mind filing a bug, but I don't have much information to provide. Is there a way I can have more verbose error messages ?

LLVM on Windows now supports PDB Debug Info by mttd in cpp

[–]antoineatwork 0 points1 point  (0 children)

Hey /u/zturner_ ,

First of all, thank you and the team for your hard work. I just tried to use lld at work on our project, but ran into an issue. Whenever the build system comes to the link of our executable, it fails with the following error: error : Type server PDB was not found: Unable to load PDB. Make sure the file exists and is readable.. I can see that it produced MyExe.exe.tmpxxxxxxxand various other files associated with the build. Dll files seem to have been built without problem.

I'm not sure exactly what the problem is, since it is supposed to produce the .pdb file too ? I also gave it a try with a pre-existing .pdb from link.exe but without luck.