跳到主要內容

發表文章

目前顯示的是 8月, 2017的文章

PDB Debug Info on Windows and DragonEgg

最近一期的 LLVM Weekly 的文章內容提到2則新聞,一則是 LLVM on Windows now supports PDB debug info ,另一則是 DragonEgg has been updated to work with GCC 8.x and LLVM 6.x 。 第一則所提到 PDB 的這個專有名詞, LLVM 的 The PDB File Format 這一篇文章有詳細的介紹, llvm-pdbutil 的指令 如下: Have clang-cl invoke lld automatically clang-cl -fuse-ld=lld -Z7 -MTd hello.cpp Invoke clang-cl and lld separately. clang-cl -c -Z7 -MTd -o hello.obj hello.cpp lld-link -debug hello.obj 在 LLVM Blog 寫道: And to leave you with something to get you even more excited for the future, it's worth reiterating that all of this is done without a dependency on any windows specific api, dll, or library.  It's 100% portable.  Do I hear cross-compilation?   對於在 Windows 系統開發的一些程式碼,可以獨立出來,達到真正跨平台的目標。 第二則是 大陸武漢科大 Leslie Zhai 將 DragonEgg 移植 到 GCC 8.x and LLVM 6.x 版本,他說: I am migrating DragonEgg to GCC v8.x and LLVM v6.x just for fun and learn . Clang 已經相當成熟, 而且對於 Fortran language 支援 LLVM 已經有前端的 flang 專案 可以使用,有人就質疑:為何還需要維護 DragonE