[llvm-dev] What should IRObjectFile expose?

Peter Collingbourne via llvm-dev llvm-dev at lists.llvm.org
Mon Apr 4 20:39:00 PDT 2016


Hi Rafael,

There's a source file in Chromium that does something like this:

target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

module asm ".text"
module asm "foo: ret"

declare void @foo()

define void @_start() {
  call void @foo()
  ret void
}

Currently the llvm-nm output for that looks like this:

---------------- T _start
                 U foo
---------------- t foo

That second entry is a bug, right? I just wanted to confirm before I go
ahead and fix it, since the fix seems like it would be rather involved.

-- 
-- 
Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160404/7e94cfd4/attachment.html>


More information about the llvm-dev mailing list