summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/struct-passing.c
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2016-08-06 00:54:43 +0000
committerLang Hames <lhames@gmail.com>2016-08-06 00:54:43 +0000
commit62a459603c2b9cf219a3102146d285a860f1cef7 (patch)
treed6bc18afd1c375f03e3edb701169ef3eb9f6ab8a /clang/test/CodeGen/struct-passing.c
parent000ca1850d85fb4e70ed275c7b73c6a0c15bfd82 (diff)
downloadbcm5719-llvm-62a459603c2b9cf219a3102146d285a860f1cef7.tar.gz
bcm5719-llvm-62a459603c2b9cf219a3102146d285a860f1cef7.zip
[ORC] Add (partial) weak symbol support to the CompileOnDemand layer.
This adds partial support for weak functions to the CompileOnDemandLayer by modifying the addLogicalModule method to check for existing stub definitions before building a new stub for a weak function. This scheme is sufficient to support ODR definitions, but fails for general weak definitions if strong definition is encountered after the first weak definition. (A more extensive refactor will be required to fully support weak symbols). This patch does *not* add weak symbol support to RuntimeDyld: I hope to add that in the near future. llvm-svn: 277896
Diffstat (limited to 'clang/test/CodeGen/struct-passing.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud