Currently in LTO mode we don't emit any .s files for non-NVPTX targets
during LTO. This makes it diffcult to investigate any failures in the
assembly. This patch makes the save-temps mode output an assembly file
and then assembles it separately. I decided to simply invoke clang for
this as it would be a lot of effort to invoke the MCStramer interface
directly.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp | ||
---|---|---|
531–537 | can use initializer list? |
clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp | ||
---|---|---|
531–537 | Probably could, this is the same style we use in Clang.cpp so I usually end up using it. |
clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp | ||
---|---|---|
531–537 | well Clang.cpp is old, should move towards doing not old things |
Comment Actions
Looks like this breaks tests on Windows: http://45.33.8.238/win/73276/step_7.txt
Please take a look and revert for now if it takes a while to fix.
Comment Actions
Hm, I'm unsure what would be causing that. I could always just disable the test on Windows. This program isn't really used on Windows anyway.
can use initializer list?