[hellollvm] 学习编译libc++时的头文件处理 (37)

Zhouyi Zhou1 min read
继续从断点
7 breakpoint keep y 0x0000555566b0a635 in clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo&, clang::SourceLocation*, clang::Parser::ForRangeInit*)
at /home/zzy/Program/llvm-project/clang/lib/Parse/ParseDecl.cpp:2459
stop only if Tok.Loc==341254
开始学Clang对libc++的i编译
我通过对Tok设置硬件断点,跟踪了到此之前的词法分析,好像是在 __config文件中打了转身:
# define _LIBCPP_BEGIN_NAMESPACE_STD _LIBCPP_PUSH_EXTENSION_DIAGNOSTICS \
namespace _LIBCPP_TYPE_VISIBILITY_DEFAULT std { \
inline namespace _LIBCPP_ABI_NAMESPACE {
# define _LIBCPP_END_NAMESPACE_STD }} _LIBCPP_POP_EXTENSION_DIAGNOSTICS
听PyTorch Europe 2026。 今天听到是一个极为重要的报告!前Meta员工Joe Spisak谈《Community Led Open Source RL》。 演讲内容极为励志。

So, why do you want to control your intelligence? Why not just like prompt a closed API forever, right? Well, I mean there's obviously autonomy. Like you want to be able to control the intelligence. It's important. It's strategic for many companies. It's actually strategic for all of us.

那么,为什么你想要控制你的智能?为什么不永远只是提示一个封闭的API呢?嗯,我的意思是显然有自主权。你想要能够控制智能。这很重要。对许多公司来说,这是战略性的。实际上对我们所有人来说都是战略性的。

Sent by C++ 中文周刊. Links that track readers or name the subscriber were removed from this copy; its images still load from the sender's own servers. If you publish this newsletter and want an issue corrected or removed, write to us.