<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>AT&amp;T :: 标签 :: yafeng 的博客</title><link>http://yafengabc.github.io/tags/att/index.html</link><description/><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Wed, 07 Oct 2026 01:20:00 +0800</lastBuildDate><atom:link href="http://yafengabc.github.io/tags/att/index.xml" rel="self" type="application/rss+xml"/><item><title>开发笔记：gocl（LLVM 后端）踩过的坑</title><link>http://yafengabc.github.io/goc/devnotes/04-gocl-llvm%E5%90%8E%E7%AB%AF%E8%B8%A9%E8%BF%87%E7%9A%84%E5%9D%91/index.html</link><pubDate>Wed, 07 Oct 2026 01:20:00 +0800</pubDate><guid>http://yafengabc.github.io/goc/devnotes/04-gocl-llvm%E5%90%8E%E7%AB%AF%E8%B8%A9%E8%BF%87%E7%9A%84%E5%9D%91/index.html</guid><description>把 goc 的 C 代码交给 LLVM 编译、再由自研链接器合成 exe，这条路上踩过的坑：libLLVM 的 FFI 约定、LLVM IR 的畸形输出、COFF 重定位丢失 addend 导致控制台全哑、printf 特化的架构缺口、PE 段级文件对齐、TLS 访问被当成 extern 全局、以及 AT&amp;T 前端的操作数方向不能一律翻转。</description></item></channel></rss>