[PATCH] D20335: [AMDGPU] Emit debugger prologue and emit the rest of the debugger fields in the kernel code header
Amjad Aboud via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 26 01:32:31 PDT 2016
aaboud added a subscriber: aaboud.
aaboud reopened this revision.
aaboud added a comment.
This revision is now accepted and ready to land.
This commit is causing build to fail on windows configuration.
================
Comment at: llvm/trunk/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp:57
@@ -56,1 +56,3 @@
DebuggerReservedVGPRCount(0),
+ DebuggerWorkGroupIDStackObjectIndices{0, 0, 0},
+ DebuggerWorkItemIDStackObjectIndices{0, 0, 0},
----------------
These lines caused a build failure on windows [[ http://lab.llvm.org:8011/builders/clang-x86-win2008-selfhost/builds/8794/steps/build%20stage%201/logs/stdio | BuildBot]].
```
error C2536: 'llvm::SIMachineFunctionInfo::llvm::SIMachineFunctionInfo::DebuggerWorkGroupIDStackObjectIndices' : cannot specify explicit initializer for arrays
```
One option to fix this is to use "std::array<int, 3>" as type of these two fields instead of "int[3]".
Please, fix the issue as soon as possible.
Repository:
rL LLVM
http://reviews.llvm.org/D20335
More information about the llvm-commits
mailing list