Details
Details
Diff Detail
Diff Detail
Event Timeline
| lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp | ||
|---|---|---|
| 71–72 | I need to emit the NULL byte at the end, and the NULL byte won't be emitted if I construct it directly, because the StringRef will have length of 3. | |
| lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp | ||
|---|---|---|
| 71–72 | You can still directly construct it with the size | |
You can construct it directly
StringRef Name("AMD", 4);