[PATCH] D44848: Align stubs for external and common global variables to pointer size.

Mandeep Singh Grang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 23 16:26:48 PDT 2018


mgrang added a comment.

You can add the test in llvm as an ll file. You can generate the ll as:

  clang++ a.cpp -emit-llvm -S -o a.ll

Take a look at llvm/test/Object/ARM/symbol-addr.ll as an example to get started.
See also:
https://llvm.org/docs/CommandGuide/llc.html
https://llvm.org/docs/TestingGuide.html


Repository:
  rL LLVM

https://reviews.llvm.org/D44848





More information about the llvm-commits mailing list