[lldb-dev] Exclusively build and install LLDB?
Kamil Rytarowski via lldb-dev
lldb-dev at lists.llvm.org
Thu Dec 3 16:26:10 PST 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 02.12.2015 19:36, Jim Ingham wrote:
> Todd is right, at runtime lldb does need to find some of the clang
> include files in order to build modules for its own purposes. On
> an OS X install, these headers are put in:
>
> LLDB.framework/Resources/Clang
>
> and are:
>
>> ls
> ./ avx512vlbwintrin.h lzcntintrin.h stdatomic.h ../
> avx512vlintrin.h mm3dnow.h stdbool.h Intrin.h avxintrin.h
> mm_malloc.h stddef.h __stddef_max_align_t.h bmi2intrin.h
> mmintrin.h stdint.h __wmmintrin_aes.h bmiintrin.h
> module.modulemap stdnoreturn.h __wmmintrin_pclmul.h cpuid.h
> nmmintrin.h tbmintrin.h adxintrin.h emmintrin.h pmmintrin.h
> tgmath.h altivec.h f16cintrin.h popcntintrin.h tmmintrin.h
> ammintrin.h float.h prfchwintrin.h unwind.h arm_acle.h
> fma4intrin.h rdseedintrin.h vadefs.h arm_neon.h fmaintrin.h
> rtmintrin.h varargs.h avx2intrin.h ia32intrin.h shaintrin.h
> wmmintrin.h avx512bwintrin.h immintrin.h smmintrin.h x86intrin.h
> avx512erintrin.h iso646.h stdalign.h xmmintrin.h avx512fintrin.h
> limits.h stdarg.h xopintrin.h
>
> Other than that, lldb shouldn't need to install any other clang
> bits for its own purposes - and on OS X at least lldb only installs
> itself and not any of the clang binaries, so in practice this can
> be made to work.
>
> Also, building lldb requires a lot of clang/llvm headers that I
> don't think get installed in the normal course of things. So I'm
> not sure how easy it is going to be to build lldb against an
> installed llvm/clang. I couldn't tell for sure whether this was
> another of your goals, but it may take a fair bit of monkeying
> around if you want to do things this way.
>
It seems that the only library / header out of public includes is for
handling raw (in C) Regular Expressions. I have a work-in-progress
code switching to public llvm::Regex instead. Other then that, there
are minor changes in CMake.
I'm ignoring autoconf framework since it's marked to be abandoned.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJWYN2hAAoJEEuzCOmwLnZsavoP/3sE59LBLSozwu5T9XOPh1oG
NpvpVFLvuyRgfb0JBEDQM/J13zbTTGSDl3A3IemvRA4Cvgeal34qKL4bsLSih3RF
fZ3699NAbmyFk92ePMIaLWFwmoiaBhboYHTR3sxiuhk0SHmPuK/PVuzD0xzPm4AC
AyqqdztkjTFZs5TyAg8vRJTlqY+VtPy4gcbG2DL0zECo1QRmsc+sFGkqmueYj7tc
5qgG7fcfswQ+gx5WFX652aksaep7ZsLpdgw3s9pFSdmAAu6PRo2CCXIYhllIHSPR
gdscSbI53LoNF5Z9ZWgDaYhEKkNKDlx9ib/zolUvNJfXuhm1yko2uPsis6XkVvBB
jsUbQ7VFLU+GYuHr6ys5qhHHEfTkAIhn9TZbhymJTt54eRPRONRmfaA6/PcZ3W+J
R/uJTNE9PvX9Hjhj2tV+59lSmrdlpmS6/9Akbv4lo3qkh2r4lJYVETpwlZv/IhJO
IHUcgdjVmFlmBC8p4nZhXxYLZiVjFT4sJr9JB/XZFkJWUajJNslIXr8hmhrzYnC1
ze71CXV4Z/q27KX3UeFmCcdudiviBA9IjzPhODknLVC60T+dIxI5C1yy1lfVnSx0
/FPurG255Eqg2sE2+DHUxIIJMfx2M8w4DrMCQAZEzO/hW+Ey05LH2fI43pcsduxF
SnkgZawyGkbQvn0NPI2M
=5u5p
-----END PGP SIGNATURE-----
More information about the lldb-dev
mailing list