[llvm] r216879 - [asan-assembly-instrumentation] Prologue and epilogue are moved out from InstrumentMemOperand().

Pete Cooper via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 19 09:13:37 PDT 2015


Hey Rafael
> On Aug 19, 2015, at 6:38 AM, Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote:
> 
>> The violation Jim Grosbach pointed out to me was anything in MC depending on
>> anything in Codegen.  So that ultimately means we should be able to build
>> llvm-mc without any CodeGen/IR dependencies.
> 
> Has there been any work on this? It is pretty annoying to have to
> build CodeGen to build llvm-mc.
Afraid not.  And actually its more than just this commit causing CodeGen/IR in MC.

On X86, Utils/X86ShuffleDecode causes the MC layer there to pull in all of libCore.

Similarly, (I think this is X86 again), any use of libObject causes llvmCore to be linked because of IRObjectFile.  I think X86 uses some of libObject in its MC code for MachO relocations.

Cheers,
Pete
> 
> Cheers,
> Rafael



More information about the llvm-commits mailing list