内容简介
0 "GettogripswithLLVMessentialsandusethecorelibrariestobuildadvancedtoolsAboutThisBookLearnhowtoconfigure,build,anduseLLVMandClangbasedtoolsExplorethedepthsoftheLLVMfront-end,IR,codegenerator,andlibraries,andlearnhowamoderncompilerisimplementedinapracticalway.CustomizeyourprojecttobenefitfromJustinTimecompilation(JIT),staticanalysisandsource-to-sourcetransformations.WhoThisBookIsForThisbookisintendedforenthusiasts,computersciencestudents,andcompilerengineersinterestedinlearningabouttheLLVMframework.YouneedabackgroundinC++and,althoughnotmandatory,shouldknowatleastsomecompilertheory.Whetheryouareanewcomeroracompilerexpert,thisbookprovidesapracticalintroductiontoLLVMandavoidscomplexscenarios.Ifyouareinterestedenoughandexcitedaboutthistechnology,thenthisbookisdefinitelyforyou.InDetailLLVMisableedingedgecompilertechnologyframework.Easilyextendableanddesignedasamultitudeoflibraries,LLVMprovidesasmoothexperienceforcompilernewcomersandreducesthesteeplearningcurveoftenassociatedwithcompilerdevelopment.Tostart,thisbookwillshowyouhowtoconfigure,build,andinstallLLVMlibraries,tools,andexternalprojects.Next,youwillbeintroducedtoLLVMdesignandhowitworksinpracticethroughouteachLLVMcompilerstage:frontend,IR,backend,theJITengine,cross-compilationcapabilities,andtheplugininterface.Withmultiplehands-onexamplesandsourcecodesnippets,GettingStartedwithLLVMCoreLibrariesensuresasolidandsmoothfirststepintotheLLVMcompilerdevelopmentenvironment."